duanqin7791 2015-05-24 20:48
浏览 300
已采纳

Paypal - 创建一个自定义立即购买按钮

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?

  • 写回答

1条回答 默认 最新

  • doulan1866 2015-05-25 17:21
    关注

    If you created a hosted button (saved at PayPal) then it knows which account to send the money to based on that.

    If you're working with an non-hosted button then you would use the "business" parameter to pass the email address or merchant account ID of the account you want the money to go to.

    You can use the "custom" parameter to pass your own custom data. It's actually called "custom" and you can pass up to 256 characters into it. It will then come back in PDT or IPN if you're using those, and it would also show up in the GetTransactionDetails API response.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度