I have developed Prestashop android client application with default webservices (i.e. using cloud store). Currently I have been working on PayPal payment integeration for mobile client with MSDK.
And transactions are working fine with my sand box business and buyer account credentials.
But as PayPal mobile SDK integration, successful payment data need to verified by a server(as per my thought Prestashop) with PayPal.
After a successful payment is made with the MSDK 2.x, the MSDK returns data to app about the payment (received by the MSDK from the REST API). Here is a sample response:
{
"client": {
"environment": "sandbox",
"paypal_sdk_version": "2.0.0",
"platform": "iOS",
"product_name": "PayPal iOS SDK;"
},
"response": {
"create_time": "2014-02-12T22:29:49Z",
"id": "PAY-564191241M8701234KL57LXI",
"intent": "sale",
"state": "approved"
},
"response_type": "payment"
}
And the server need to call PayPal services to confirm that the payment is authentic, for the expected amount and currency, and that we are the recipient of the payment.
Question
Meringue
Edited by Meringue (see edit history)
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now