doujiao8649 2011-04-23 19:19
浏览 21
已采纳

是否可以使用curl php库和paypal购买产品?

i have a client that provide a service on his website.he wants to automate the service orders.

the service has these steps: 1- user submit a form with request. 2- my client review the request, validate it and use the info in this request to : 3- login to another website 4- buy a product from this website using his paypal account. 5- downlad and send the product in email to the user.

i was able to automate all of this using curl.the only problem i have is the purchase process using papal.i didn't deal with paypal before.so i want to know if i can just submit the papal form on the purchase website using curl.or this will not work?

while searching i found something about papal IPN.but i don't know if my client have this IPN in his papal account or not? also, he does not want to give me his papal info. is there is anyway i can do this with fake paypal account to try it?

thank you so much.

  • 写回答

2条回答 默认 最新

  • douzhuang2016 2011-04-23 19:27
    关注

    First of all, sign up for a PayPal sandbox account: https://developer.paypal.com/devscr?cmd=_signup-run

    It's a really slick system PayPal put together for developers to test out stuff.

    Secondly, review the PayPal API's at: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks

    I believe all you need is the PHP Name-Value pair or Website Payments Standard interfaces.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 易盾点选的cb参数怎么解啊
  • ¥15 MATLAB运行显示错误,如何解决?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 UE5#if WITH_EDITOR导致打包的功能不可用
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题
  • ¥20 yolov5自定义Prune报错,如何解决?
  • ¥15 电磁场的matlab仿真
  • ¥15 mars2d在vue3中的引入问题
  • ¥50 h5唤醒支付宝并跳转至向小荷包转账界面