Page 1 of 2

Paypal wont authorize

Posted: Wed Jul 15, 2015 10:53 am
by TonyS

I followed the tutorial and I tried to test but it wont authorize.

I can get servercode to autherise but when I test/preview the spinner just keeps spinning.

What am I missing?


Paypal wont authorize

Posted: Wed Jul 15, 2015 11:03 am
by TonyS

there's no errors so I can't say what's happening


Paypal wont authorize

Posted: Wed Jul 15, 2015 11:13 am
by TonyS

I meant to say authenticate, sorry:)


Paypal wont authorize

Posted: Wed Jul 15, 2015 11:16 am
by TonyS

Interesting. when I look at the network I see this...{"Message":"Authorization successful. Token still alive."}

Why is the spinner still spinning?


Paypal wont authorize

Posted: Wed Jul 15, 2015 11:17 am
by TonyS

When I ignore the spinner and click make payment I get...

POST https://api.appery.io/rest/1/proxy/tu... 400 (Bad Request)


Paypal wont authorize

Posted: Wed Jul 15, 2015 12:06 pm
by TonyS

I was wrong it's not authenticating. Double checked everything as-per the tutorial still no joy


Paypal wont authorize

Posted: Wed Jul 15, 2015 1:15 pm
by TonyS

so I get this when I test the PayPal_Auth service.

{
"Message":"Authorization successful. Token still alive."
}

Which means it should then run the js - Apperyio('make_payment_button').removeClass('ui-disabled');

It doesn't.


Paypal wont authorize

Posted: Wed Jul 15, 2015 1:39 pm
by TonyS

what does run is the js:

alert('Error has occured when creating payment');

when I ignore the spinner.


Paypal wont authorize

Posted: Wed Jul 15, 2015 2:10 pm
by Alena Prykhodko

Tony,

Please try to debug it, do you get errors in console, service execution?

https://devcenter.appery.io/documenta...
https://devcenter.appery.io/documenta...


Paypal wont authorize

Posted: Wed Jul 15, 2015 2:13 pm
by TonyS

nope don't get any errors and when I test the service the run okay see above.