Page 1 of 2

Paypal API issue in Appery io

Posted: Mon Jan 05, 2015 11:39 am
by Ambika P5280138

Hi,
Im working on online transaction app. so I used Paypal API and I integrate Paypal in my app token service its work and payment service response not return its shows error on
{
"status":500,
"uri":"https://api.sandbox.paypal.com/v1/pay...",
"response":"
}

I follow the below video:
http://maxkatz.org/2014/06/13/quickly...


Paypal API issue in Appery io

Posted: Tue Jan 06, 2015 2:12 am
by Yurii Orishchuk

Hi Ambika,

Please open browser debugger on network tab, then make logic to send this request again and find in debugger this service request.

After, please make screen shots where we can see all request headers and request parameters, and response.

Also may be you have fixed this problem here?: https://getsatisfaction.com/apperyio/...

If so - please follow that single thread.

Regards.


Paypal API issue in Appery io

Posted: Tue Jan 06, 2015 5:25 am
by Ambika P5280138

Hi,

Authorization as header and query string.

Payer and transaction as object parameter but request tab have 2 column parameter name and value, now Appery support String, Number , Array and Object.

Image


Paypal API issue in Appery io

Posted: Tue Jan 06, 2015 6:02 am
by Yurii Orishchuk

Hi Ambika,

thanks for this update.

Regards.


Paypal API issue in Appery io

Posted: Tue Jan 06, 2015 6:44 am
by Ambika P5280138

Hi Yurii,

Give me any solution for this issue.


Paypal API issue in Appery io

Posted: Tue Jan 06, 2015 10:46 pm
by Yurii Orishchuk

Hi Ambika,

As i can see you have correct status(200) this time:

http://prntscr.com/5pcnf1/direct

If you do not please give us your app public link and describe steps to reproduce this problem in your app.

Regards.


Paypal API issue in Appery io

Posted: Wed Jan 07, 2015 8:19 am
by Ambika P5280138

Hi

it return 200 but the response show validation error. I set the payer and intent parameter but it show require field missed. I dont know what i miss.

{
"status":400,
"uri":"https://api.sandbox.paypal.com/v1/pay...",
"response":{
"name":"VALIDATION_ERROR",
"details":[
{
"field":"payer",
"issue":"Required field missing"
},
{
"field":"intent",
"issue":"Required field missing"
}
],
"message":"Invalid request - see details",


Paypal API issue in Appery io

Posted: Wed Jan 07, 2015 11:13 pm
by Yurii Orishchuk

Hi Ambika,

Please give us your app public link and describe steps to reproduce this problem in your app.

We will take a look.

Regards


Paypal API issue in Appery io

Posted: Thu Jan 08, 2015 4:51 am
by Ambika P5280138

Hi,

Please look on app link below
http://appery.io/app/mobile-frame?src...

click purchase link it open purchase page and purchase button on click invoke the token service, on success access_token value assign to local storage variable, I set default value for all parameter, transactions, payer, intent and redirect_urls.


Paypal API issue in Appery io

Posted: Fri Jan 09, 2015 9:14 am
by Ambika P5280138

Hi,

I can't resolve this issue kindly help me.