Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Paypal recurring payments and CORS

I have created two ways for my users to pay, one is a one off payment, and now i would like to create a recurring payment.

Using this guide, it looks pretty simple, compared to my last ordeal :

https://devtools-paypal.com/guide/rec...

When I test the service it comes back with a urlencoded response, which is fine:

Image

I can slice that, but when i test it in the app, it gives me this error:

Image

So using this guide and that it works in test, any reason it would not work in practice via the app ?

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Paypal recurring payments and CORS

I have tried to add the header, but still same issue:

Image

This is the full console response:

Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Paypal recurring payments and CORS

We'll look into this, but it will take some time.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Paypal recurring payments and CORS

Hi Addy,

Please specify where did you test it(in device or in browser)?

If you test it in browser you need to set Appery.io proxy.

See more about it: http://devcenter.appery.io/documentat...

Regards.

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Paypal recurring payments and CORS

Hi Yurli, I did test it in the browser, and i will try it with the proxy. Will get back to you, thanks :)

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Paypal recurring payments and CORS

Thats, that worked great. Can I just check, trying to use server code to allow IPN from paypal is giving me an error from the Paypal IPN simulator. Would I be right in thinking I cannot use Server code for IPNs ?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Paypal recurring payments and CORS

Hi Addy,

Please give us information about error which you recieved in your server code.

Regards.

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Paypal recurring payments and CORS

I do not get the error in server code, but when I use the Paypal IPN simulator it gives me a HTTP 400 error if I put the server code exec url

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Paypal recurring payments and CORS

Image

I did say in my message 18 hours ago the error was in Paypal IPN Simulator! Here is the message screen shot. Think it has something to do with the protocol being HTTP 1.0 and it should be HTTP 1.1. But thats based on a google search.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Paypal recurring payments and CORS

Hi Addy,

Please share your app and server code with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and describe steps how we can reproduce it.

Also tell us app name and server code name.

Thanks & regards.

Return to “Issues”