TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

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?

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

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

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

I meant to say authenticate, sorry:)

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

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

Why is the spinner still spinning?

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

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

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

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

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

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

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.

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

what does run is the js:

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

when I ignore the spinner.

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

Paypal wont authorize

Tony,

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

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

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Paypal wont authorize

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

Return to “Issues”