根据动态选择进行贝宝整合
我想将 PayPal 与我的网站集成。 我研究了贝宝网站上提供的文档。
我的要求是
用户选择一个类别,根据类别课程填充,用户选择课程和折扣。我希望用户根据所选课程通过paypal付款。支付成功后,还应将数据插入到表中。
我也检查了示例代码,但我无法弄清楚如何完成此任务,即如何根据用户选择使其动态化。我认为 ipn 会被使用,但不确定。
请帮忙
谢谢
I want to integrate paypal with my website.
I have studied the documentation available on paypal website.
My requirement is
A user selects a category, based on category course is populated,user selects course and discount. I want the user to pay through paypal according to the course selected. Also the data should be inserted into a table after successfull payment.
I have checked sample code also but i am unable to figure out how to accomplish this task ie how to make it dynamic according to the user choice. I think ipn would be used but not sure.
Plese help
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为没有其他选择。仅配置价格。
唯一没有价格设置的字段是“捐赠”。
此外,在 PayPal 中,您可以配置每种产品的库存、运费和税费。
I don't think there is an option for that. Only configured prices.
The only field that doesn't have an price setup is "Donations"
Also in PayPal you can configure the stock that you have for every products, shipping price and tax.