Stripe

I am trying to use Stripe for payment and following the tutorial. It mentions use of JS to feed the authorization but there is no javascript sample. Can you guys provide that.

"Mapping the UI to the services

The final part of the app design is to map the service parameters to the the UI components and JavaScript.

The following is the request parameter mapping of StripePayment_CardTokenService. The Authorization input parameter is taken with assistance of the script, which gets an apiKey from Settings, and performs encoding with Base64. You can see and edit the script by clicking “Edit JS.” Other inputs of the card parameters, such as card[number], card[cvc], etc. are taken from the appropriate input fields:"
1 person has
this question
+1
This topic is no longer open for comments or replies.