为我的购物车使用贝宝结帐快递 [英] using paypal checkout express for my shopping cart

查看:75
本文介绍了为我的购物车使用贝宝结帐快递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个购物车,其中有商品明细,价格和总金额..我想将其集成到Paypal ..我的意思是我想通过paypal处理购物车的结帐流程.我很困惑如何开始..我没有从网上的文章中得到逻辑.谁能解释我如何学习和实施呢..贝宝如何获得购物车的价值. ??运作方式...我是否需要保存通过paypal处理的付款的订单详细信息

i have a shopping cart in which i have item details price and total amount .. i want to integrate it to paypal.. i mean i want to handle the checkout process for my shopping cart though paypal. i am confused how to start.. i am not getting the logic from the articles on net. can anyone explain how i can learn and implement that.. how the paypal get values of the shopping cart. ?? how it works...do i need to save the order details of the payments which are handled through paypal

推荐答案

您应该阅读PayPal拥有的文档(在其网站上)如果我没记错的话).在进行金融交易时,您通常不希望听取陌生人的建议.

几年前,我根据这些思路做了一些介绍性工作.我记得,您必须向他们的服务构造一个POST请求,这将在他们的站点上准备购物车,然后使用Web服务调用返回的唯一密钥将用户重定向到paypal.com上的页面.处理交易后,贝宝(Paypal)随后将对您设置为商家帐户配置一部分的服务器上的URL进行网络服务调用(即HTTP POST交易).但是从那时起,他们可能已经改变了工作方式,所以一定要看一下文档.
You should read the documentation PayPal have (on their website if I remember right). You generally don''t want to take advice from strangers when it comes to financial transactions.

I did some introductory work along these lines some years ago. As I remember it, you have to construct a POST request to their service which will prepare a cart on their site, then redirect the user to a page on paypal.com with the unique key the web service call returns. When the transaction is processed, Paypal will then make a web service call (i.e. a HTTP POST transaction) to a URL on your server that you set as part of your merchant account configuration. But they may have changed how they do things since then, so definitely look at the documentation.


这篇关于为我的购物车使用贝宝结帐快递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆