0

In using paypal mobile sdk's, Here is how I understand how it will work as what I have read in the docs.

  1. A drop-in will show that will prompt you to login.
  2. Once logged in the payment will be processed and you will receive some kind of "proof-of-payment" data that will be forwarded to the server for verification.
  3. The server will then fetch the payment data using the payment id
  4. You as a developer should manually verify its "state" and the "transaction" object it contains.

After that, when I try to view if the said transaction is "done". I refresh the transactions tab in the sandbox dashboard and nothing appears. Is there a next procedure that I should do in order to confirm that these transactions really happened?

Also, is there an equivalent of the "single payment" used in mobile sdks for websites As far as I know, there is no "web" sdk's provided that would produce a drop-in similar to the mobile sdk's.

jofftiquez
  • 7,548
  • 10
  • 67
  • 121
kapitanluffy
  • 1,269
  • 7
  • 26
  • 54

1 Answers1

1

There could be a delay in the transactions appearing on sandbox. If you have a transaction id, you can do a REST call to get its status to see if it has been approved.

The preferred solution for a drop-in option for web is v.zero, once you integrate with it you have paypal as a payment option.

Avi Das
  • 1,725
  • 1
  • 13
  • 19
  • Yeah, that is what I thought first too but days already passed and there is no update in the transactions tab. I also already tried the REST call you linked using an express checkout transaction and it says invalid resource. – kapitanluffy Oct 07 '15 at 06:03
  • In that case, I doubt the transaction has been completed. If you are following the mobile sdk docs on https://github.com/paypal/PayPal-iOS-SDK#single-payment, it mentions how you can go about verifying the payment. – Avi Das Oct 07 '15 at 14:43