Paypal Sandbox交易未显示 [英] Paypal Sandbox transactions are not shown

查看:336
本文介绍了Paypal Sandbox交易未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在PayPal沙盒中创建了一个帐户,并创建了2个帐户,其中有一笔用于支付款项。我在我的java程序中使用签名详细信息来获得付款。当用户点击PayPal按钮付款时,我们将从PayPal获得一个令牌并将其传递到此URL:

 
https:// www .sandbox.paypal.com / webscr?cmd = _express-checkout&token =

成功付款后,我无法看到任何交易我的PayPal沙箱帐户?为什么会这样,我在做什么错误?我正在使用Google App Engine java和jsp。请给我提供任何帮助完整链接,以便使用PayPal支付

谢谢。

解决方案

为什么PayPal需要DoExpressCheckoutPayment?

要使用Express Checkout,您必须至少调用以下API调用:

1. SetExpressCheckout - 设置交易。

2. DoExpressCheckoutPayment - 完成交易。

如果您在 SetExpressCheckout > DoExpressCheckoutPayment c $ c>' RETURNURL 参数,交易未完成。这是为了在结账流程中提供更大的灵活性。

Express Checkout是您在自己的结帐过程中的一种直接解决方案。在Express Checkout将您重新导向到您的网站后,您应该显示订单确认,买方可以在启动最终 DoExpressCheckoutPayment 的按钮/链接之前查看其最终订单详细信息c $ c> API调用。这就是为什么需要 DoExpressCheckoutPayment


I have created an account in paypal sandbox and created 2 accounts one with some money for making payments. I use the signature details in my java program for getting paid. When the user click on pay with paypal button we will get a token from paypal and pass it to this URL:

https://www.sandbox.paypal.com/webscr?cmd=_express-checkout&token=

After the successful payment i am not able to see any transactions in my paypal sandbox accounts? Why is it so, what is the mistake i am doing? I am using Google App Engine java and jsp. Please provide me any help full links for doing "Pay With Paypal"

Thanks.

解决方案

See my answer in Why is DoExpressCheckoutPayment required for Paypal?
In order to use Express Checkout, you must call at least the following API calls:
1. SetExpressCheckout -- to set up the transaction.
2. DoExpressCheckoutPayment -- to finalize the transaction.

If you don't call DoExpressCheckoutPayment on the page specified in SetExpressCheckout's RETURNURL parameter, the transaction is not completed. This is by design to allow for greater flexibility in the checkout flow.

Express Checkout is intended as a drop-in solution in your own checkout process. After Express Checkout redirects you back to your site, you're supposed to show an order confirmation where the buyer can review his/her final order details before initiating a button / link which initiates the final DoExpressCheckoutPayment API call. This is why DoExpressCheckoutPayment is required.

这篇关于Paypal Sandbox交易未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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