Integration of Stripe payment gateway with Piggybak.
The following markups are supported. The dependencies listed are required if you wish to run the library.
Add piggybak_stripe gem to Gemfile
//= require piggybak_stripe
Start the app, and navigate to Rails Admin. Create a new payment method with Stripe as the calculator and add the following Stripe keys (obtained from your Stripe account): *test_publishable_key *test_secret_key *live_publishable_key *live_secret_key
Configure piggybak's gateway mode:
config.activemerchant_mode = :testOR
config.activemerchant_mode = :production