Hi
I am trying to use the stripe plugin. I have followed the tutorial and I have made a successful service response with Bearer prefixed to test key.
http://docs.appery.io/tutorials/makin...
When I attempt to run the app I get this error:
It looks like you're making a cross-origin request from a web page or browser extension. You'll need to use Bearer authentication instead of basic authentication (which we're deprecating). Basically, you need to set the header "Authorization" to "Bearer ".
I then edit the JS on Authentication request field of
StripePayment_CardTokenService and I change this to read:
//return "Basic " + result;
return "Bearer " + result;
I then get the error that my key is invalid:
Invalid API Key provided: *******************************************=
I am guessing the problem is with StripePayment_Encoder
When I alert the 'result' in the above script it also adds equals sign at end (=). Is that the problem?