Advertisement
hmunoz-stripe

Oxxo server-side confirmation

Sep 16th, 2020
1,741
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.26 KB | None | 0 0
  1. pi = Stripe::PaymentIntent.confirm(
  2.     pi.id,
  3.     {
  4.         payment_method_data: {
  5.             type: 'oxxo',
  6.             billing_details: {
  7.                 name: "Firstname Lastname",
  8.                 email: "email@me.com"
  9.             }
  10.         }
  11.     }
  12. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement