change rails initialisation.
repair abilities. add ticket purchasing check.
This commit is contained in:
parent
72ef33cbe6
commit
a9ab1186f8
9 changed files with 14 additions and 14 deletions
|
|
@ -26,8 +26,8 @@
|
|||
= humanized_money_with_symbol @total_amount_to_pay
|
||||
%script.stripe-button{ src: "https://checkout.stripe.com/checkout.js",
|
||||
data: { amount: @total_amount_to_pay.cents,
|
||||
email: current_user.email,
|
||||
currency: @total_amount_to_pay.currency,
|
||||
image: image_url('OSEM_ICON.jpg'),
|
||||
name: ENV['OSEM_NAME'] || 'OSEM',
|
||||
description: "book your tickets",
|
||||
key: Rails.application.secrets.stripe_publishable_key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue