Comment to 'Hard coded payment options in Stripe'
  • If I got you right, the session parameter will overwrite the parameters hardcoded in the array in BxPaymentProviderStripeV3.php? So, no modification of BxPaymentProviderStripeV3.php needed anymore, right?

    Yes, you are right. All these were done to avoid direct changes in default 'BxPaymentProviderStripeV3.php' file.

    • Now, that I set BxPaymentProviderStripeV3.php back to its original version, everything works like a charm! It's really magic. πŸ™Œ
      When does the lesson "Extending the module with putting data into the array by using Studio settings" start? ο»ΏπŸ˜‰ο»Ώ

      Hello. If you just want to control items of 'payment_method_types' parameter view Settings then it wouldn't be a problem. I mean to have a Dropdown with Card, Sofort and Sepa Debit choices.

      • How about a comma-separated list of arguments to fill the array with, individually? Of corse, the user will be responsible to configure his payment methods in Stripe accordingly.

        • Yes, it can be done this way. In this case you may use standard Text field. It's even more easier.