Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

Latest commit

 

History

History
16 lines (14 loc) · 647 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 647 Bytes

Rails app generated with lewagon/rails-templates, created by the Le Wagon coding bootcamp team.

Mailing in production

Payment in production

<%= form_tag journey_charges_path(@journey) do %>

<script src="https://checkout.stripe.com/checkout.js" class="stripe-button" data-key="<%= Rails.configuration.stripe[:publishable_key] %>" data-name="Mon Séjour" data-email="<%= @journey.user.email %>" data-description="Commande N<%= @journey.id %>LCT" data-amount="<%= @amount %>" data-currency="eur" data-label="Paiement"> </script>

<% end %>