eventsmanager

Stripe Session Vars

Sep 9th, 2026 (edited)
29,462
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <?php
  2.  
  3. function my_em_stripe_payment($stripe_checkout,$EM_Booking){
  4. $stripe_checkout['payment_method_types'] = ['card', 'sepa_debit','sofort','us_bank_account'];
  5.  
  6. $stripe_checkout['invoice_creation'] = [
  7. 'enabled' => true,
  8. 'invoice_data' => [
  9. 'footer' => 'Thank you for your business!',
  10. 'metadata' => [
  11. 'booking_id' => $EM_Booking->booking_id,
  12. ],
  13. ]
  14. ];
  15.  
  16. $stripe_checkout['customer_email'] = $EM_Booking->get_event()->get_contact()->user_email;
  17.  
  18. return $stripe_checkout;
  19. }
  20. add_filter('em_gateway_stripe_checkout_session_vars', 'my_em_stripe_payment', 100,2);
Advertisement
Comments
  • roostakbitss
    45 days
    # text 0.34 KB | 0 0
    1. so i figured out a way to get free digital products from g2a. more specifically steam gift cards, google play gift cards and amazon gift cards. just watch this video if you dont believe me.
    2.  
    3. https://www.youtube.com/watch?v=MGSvVHV5Nvk&t=439s
    4. https://www.youtube.com/watch?v=MGSvVHV5Nvk&t=439s
    5. https://www.youtube.com/watch?v=MGSvVHV5Nvk&t=439s
Add Comment
Please, Sign In to add comment