hmunoz-stripe

Oxxo server-side confirmation

Sep 16th, 2020
918
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. )
RAW Paste Data