eventsmanager

Pass language to stripe

Jul 27th, 2020
229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. * Pass language to stripe
  3. * Supported language: https://support.stripe.com/questions/supported-languages-for-stripe-checkout
  4. */
  5. function my_em_stripe_locale($stripe_checkout,$EM_Booking){
  6. $stripe_checkout['locale'] = "fr";
  7. return $stripe_checkout;
  8. }
  9. add_filter('em_gateway_stripe_checkout_session_vars','my_em_stripe_locale', 100,2);
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×