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

Paypal redirect URL issue

What you just wrote makes no sense, and here is why:

First, its a mobile platform, its never been a web application platform, other than it uses HTML5. Look at the front of Appery, the clues are there.

Second, I have already explained, follow that tutorial and it will not work. The developer email, for example, does not help and that alone will not give you the token. Rather than ask me to do all the work, when i have spent 2 days working from one of your webinars, to show you step by step instructions, when I have already said, do the tutorial, again while I pay for this apparent service, takes the piss that little bit further. I am a customer, and you are failing me!

Third: If the plugin is only to get the token, then when i put a payment through, which is another call and the idea, the redirect would still go to the wrong place, as it does now, because the payment call also requires redirects (return and cancel) within the JSON data, along with transaction and payer.

So you can see, the webinar is useless for mobile apps, the fact you fail to see this really does, surprisingly, amaze me. Considering its a really good How-To also, makes it worse that you suggest its an example for a web application.

Follow your own tutorial, step by step, to the letter, and it will not work. I tried to make it work before I looked on youTube and found the webinar!

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

Paypal redirect URL issue

Hello,

Sorry for late response. Working to check tutorial step-by-step and will update as soon as have more information.

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

Paypal redirect URL issue

I have been working on it all day. And I have found the redirect does work, but for some reason, it loses part of the localStorage. There is no error seen, because its on the transfer from Paypal to the app.

I have made it work once, where the redirect does work but only on the second attempt. This is using the video from the webinar.

The plugin I cannot get to work with payments. It is a little like, when the redirects happens, it opens as a new window, and that is why whatever the error is, which is probably an issue with a missing variable from localStroage, its not seen.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Paypal redirect URL issue

Hello Addy,

1) I just checked, the plugin works correctly in browser and on Android device. Please check whether you have done everything right.
2) It is normal that webinar is not working on the device. You should open all external resources that will do the reverse redirect in inAppBrowser and not in the application window to work on the device. i.e. instead of

codewindow.location.href = .../code

please use

codewindow.open(...)/code

You may find more info here: http://cordova.apache.org/docs/en/3.3...
And follow the events InAppBrowser - for example, you may see js code of plugin PayPal

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

Paypal redirect URL issue

When you tried it on Android, did you also use the window.open to test it ?

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

Paypal redirect URL issue

And the plugin does not work. Sorry, but it will not allow a payment. It will give you a token, as I have already pointed out above, but it will not help taking payments.

I have looked all over your plugin code, and there are steps missing according to Paypal documentation. The plug-in only gets the token, and gets information regarding the payments first call. I can get the token without the plugin, its taking payments, and the redirect with, or without the plugin fails on iOS. I have not tried it on Android yet.

Also, I cannot for the life of me understand why you do not see this quote : " It is normal that webinar is not working on the device" as a problem, considering its a mobile platform! Perhaps you should ensure on videos its noted the How-To may not work on mobiles!

Either way, I have failed to take payments with or without the plug-in, and I have done it over 4 times with the plugin, doing exactly what the tutorial says.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Paypal redirect URL issue

Hi,

We would appreciate if you share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.

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

Paypal redirect URL issue

shared :{)

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Paypal redirect URL issue

Addy,

Thank you, we'll test.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Paypal redirect URL issue

Addy,

Could you please provide us with the exact steps to test your application?

Return to “Issues”