本文介绍了贝宝服务器到服务器验证问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我构建的使用PP付款iOS应用。这一切工作正常。该应用程序会从PP批准的交易。该应用程序,然后发送批准ID(pay_key或payment_id),以我们的验证服务器。当服务器收到付款ID,验证调用(用于creditcardsPayment.find(ID)寻找支付)返回一个没有付款发现响应。自适应呼吁PP支付的反应是一样的。

I'm building an iOS app that's using PP for payments. It all works fine. The app gets an approved transaction from PP. The app then sends the approved id (pay_key or payment_id) to our server for verification. When the server receives the payment id, the verification call ( for creditcards "Payment.find(id)" to find the payment) returns a "no payment found" response. The adaptive call for PP payments responses the same.

基本上,这两个调用无法找到应用程序批准的付款。

Basically, both calls can not find the payment approved by the app.

我使用PP红宝石宝石适应性休息。

I'm using the ruby gems for PP adaptive and rest.

此外,从PP Android团队杰夫Brateman回答以下服务器到服务器的最佳实践的问题,但我想知道,什么是最好的做法前进。将服务器到服务器的方法,我现在使用是未来一年的最佳做法? IS是IPN将是要走的路?

Also, Jeff Brateman from the PP Android team answered the following server-to-server best practice question, but I would like to know, what is the best practice moving forward. Will the server-to-server approach I’m using now be the best practice over the next year? Is is IPN going to be the way to go?

杰夫原始最佳实践问​​题和答案:

杰夫,[从里克提问]您可以验证支付验证的最佳实践。是服务器到服务器作为我做推荐的方法或者是他们的IPN现在设置?

Original Best practice question and answer from Jeff:android verify paypal payment[Question from Rick] Jeff, can you verify the best practice for payment verification. is the server-to-server as I'm doing the recommended approach or is their an IPN setting now?

[杰夫响应]我建议继续使用服务器到服务器验证。你可以玩的互穿网络,看看它是否有您需要的信息,但它是极不可能的。另外,如果您有新的问题,让我们创建一个新的SO发布,因为这个问题的范围已经变得有些笨拙。

[Response from Jeff] I would suggest continuing to use server-to-server validation. You could play around with IPNs to see if it has the info you need, but it's highly unlikely. Also, if you have new questions, let's create a new SO post, as the scope of this question has grown a bit unwieldy.

推荐答案

我发送给贝宝支持的bug报告,他们核实的问题,并固定它的时候了!

I sent a bug report to PayPal support, they verified the issue and fixed it right away!

- 里克

这篇关于贝宝服务器到服务器验证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 17:27