hmunoz-stripe

Untitled

Sep 21st, 2020
1,052
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stripe.confirmSepaDebitPayment(
  2.     clientSecretInput.value,
  3.     {
  4.       payment_method: {
  5.         id: "pm_123",
  6.       },
  7.       customer: cus_123,
  8.       setup_future_usage: "off_session",
  9.       mandate_data: {
  10.       customer_acceptance: {
  11.         type: "online",
  12.         online: {
  13.             infer_from_client: "true"
  14.         }
  15.       }
  16.     },
  17.     }).then(function(result) {
  18.       // ...
  19.   });
RAW Paste Data