Page 1 of 6

Paypal redirect URL issue

Posted: Fri Jun 27, 2014 5:25 pm
by Bad Addy

Looking at your new webinar about using paypal and how to impliement it, it all works great to a point.

The issue is the return redirect URL. On the webinar you are using the browser to test it, and thats great as it works, but it does not work on the phone.

So how do I get the redirect for the phone ????

Looking at weinre, the base url is :

precode
<base href="file:&#47;&#47;/var/mobile/Applications/7B7BCC3E-*---9ADAF*/u*e&#46;app/www/project/createGroup4&#46;html">
/code/pre

But the return, based on your webinar is:

precode
"return_url":"http:&#47;&#47;appery&#46;io/app/view/3b3bd7dc-*---9c6507***/createGroup4&#46;html"
/code/pre

So using the webbrowser it works, but on the mobile device it does not, because of the code within the device Applications could be anything ?


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 6:07 pm
by Evgene Karachevtsev

Hello Addy,

You should use pre Appery.io plug-in for PayPal: http://devcenter.appery.io/documentat...
It contains code adapted for mobile devices


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 6:08 pm
by Bad Addy

The webinar said nothing of using a plugin, and its a new webinar ? So whats the point of that ?


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 6:32 pm
by Bad Addy

The plugin does not work, if you follow that tutorial, it fails.

Can I not do this via Server Code. I have been trying, but its not working either.

Only that tutorial works, and now your telling me its useless for mobile ?


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 6:32 pm
by Evgene Karachevtsev

Addy,

Information about the plugin was updated 13-th of June, after the webinar. You need this plugin for
example could work properly on mobile devices. You can see the JavaScript code in PayPal_Auth_Helper used for this purpose.


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 6:34 pm
by Bad Addy

Then it should be on your youtube channel also don't you think ?

I have spent 2 days working around this webinar and now your telling me it cannot work on mobile. Why not take the bloody youTube down if its wrong ????

And STILL the plugin does not work!


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 6:37 pm
by Evgene Karachevtsev

Addy,

Please clarify, what exactly doesn't work?


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 6:41 pm
by Bad Addy

The Plug In

No errors, it just does not work, do that tutorial yourself and tell me it works for you.


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 6:44 pm
by Bad Addy

And take that youTube video down or change it. NO point having a mobile platform How-To if it does not work on mobile!!

And yes, I am very annoyed, and i'm paying for this hassle...... Why I ask myself.


Paypal redirect URL issue

Posted: Fri Jun 27, 2014 7:21 pm
by Evgene Karachevtsev

Addy,

The webinar is intended to show how to work with PayPal API in web application. Appery.io PayPal plug-in includes only the preset service for authorization (receiving token). Indeed, this is in the webinar, but more complete example (mini Annex) is considered in this it . I.e. using the plugin you can only authorize in PayPal.
And I'll ask you once more, please provide us with information what exactly doesn't work. I would appreciate if you could give us step-by-step instruction so we can reproduce this issue and help you