i want to create a custom but now (or another pay now paymnet... ) so i read the documetation at paypal.com (Paypal API). and i read about HTML variables. so far i understand that for create a buy now with dynamic price i need to set the amount variable to my price. seconds i have the item_name and item_id variables for information about the productd.
but my que's are, where do i set the acount that my client pay for? i mean where i set to where the money will transfer?
seconds, is there anyway to add an another data that will send back to my server after the payment complete?
答案 0 :(得分:0)
如果您创建了一个托管按钮(保存在PayPal中),那么它会根据该帐户知道要汇款的帐户。
如果您正在使用非托管按钮,那么您可以使用“business”参数来传递您希望资金转到的帐户的电子邮件地址或商家帐户ID。
您可以使用“custom”参数传递自己的自定义数据。它实际上称为“自定义”,您最多可以传递256个字符。如果您正在使用它们,它将以PDT或IPN返回,并且它也会出现在GetTransactionDetails API响应中。