Jump to content
  • 0

Enable paypal payment verification webservice


Meringue

Question

Hello friends, 

 

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.

 


 

I know that Prestashop support Paypal module for web version.

 

I need to know that is PayPal module provides webservices to achieve the verification, if it so how to enable it.

 

By the way I'am not expert in php :(

 

Thanks in advance :)

Edited by Meringue (see edit history)
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...