Page 2 of 2

Paypal Server script throws an error!

Posted: Tue Sep 06, 2016 3:51 pm
by Serhii Kulibaba

Hello, Please clarify, do you get the same error every time you run that script?

Please compare your script with a new documentation, are they the same:
https://docs.appery.io/docs/samples-p... ?


Paypal Server script throws an error!

Posted: Tue Sep 06, 2016 6:36 pm
by Qasim Rafi

every time i got the same error and my script is exactly same with sample code


Paypal Server script throws an error!

Posted: Fri Dec 23, 2016 10:05 am
by Prabhavathi

i'm also having exactly same error whenever run my script "Token does not exist. Creating new one".will you pls help me in this??


Paypal Server script throws an error!

Posted: Sun Dec 25, 2016 1:34 pm
by Illya Stepanov

Hello, what exactly you're getting in the trace tab of your script invocation?


Paypal Server script throws an error!

Posted: Tue Dec 27, 2016 9:57 am
by Prabhavathi

hi,during script invocation,when collection have empty data initially it shows like "token does not exist.creating new one".when data presents it does not show that error but initially token stores in collection after login successful right?i'm getting doubt in that.help me in this?


Paypal Server script throws an error!

Posted: Thu Jan 05, 2017 1:29 pm
by Serhii Kulibaba

Hello,

This token line should be automatically added in DB if it does not exist.

Following JS code invoked functionality to create new session token:
preconsole.log('Token does not exist. Creating new one');
//If there is no token, let's issue one
sendXHR();/pre

you can test it in following way:
1 delete token from DB.
2 run a script.
3 check console.


Paypal Server script throws an error!

Posted: Thu Jan 05, 2017 1:32 pm
by Prabhavathi

ok..thanks for reply..i will check it