Page 1 of 1

Stripe

Posted: Mon Jun 23, 2014 3:17 pm
by Girish Chhugani

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:"


Stripe

Posted: Mon Jun 23, 2014 3:50 pm
by Evgene Karachevtsev

Hello Girish,

There is the default script. You can show/change it by clicking on Edit JS button


Stripe

Posted: Tue Jun 24, 2014 1:59 pm
by Girish Chhugani

Yea. realized there were two pages created as well. Thanks!