Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. charge = Stripe::Charge.create({
  2. customer: cutomer_token,
  3. amount: params[:amount],
  4. description: 'Rails Stripe customer',
  5. currency: 'usd'
  6. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement