Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
232 views
in Technique[技术] by (71.8m points)

android - PayPal Server-to-Server verification issue

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.

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

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?

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?

[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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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

-- Rick


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...