Osclass Support Forums

Osclass plugin support => Osclass Pay Plugin => Topic started by: MvdO79 on October 28, 2021, 05:25:09 PM

Title: [Improvement] Add form field to Stripe Payment section for payment method types
Post by: MvdO79 on October 28, 2021, 05:25:09 PM
I really think it's an improvement to add an extra form field to the Stripe Payment admin section where you can alter the available payment_method_types values.

Right now (in StripePayment.php) I changed it from:

Code: [Select]
'payment_method_types' => ['card']
to:

Code: [Select]
'payment_method_types' => ['card', 'ideal','sepa_debit'],
Also alert people that in Stripe dashboard you need to activate those extra payment methods, otherwise the Stripe payment button is not shown on the checkout page.

 ;)
Title: Re: [Improvement] Add form field to Stripe Payment section for payment method types
Post by: MB Themes on October 28, 2021, 05:38:08 PM
Well that would probably cause more troubles then benefit
If you do not see button, there is usually error behind you do not see
Title: Re: [Improvement] Add form field to Stripe Payment section for payment method types
Post by: MvdO79 on October 28, 2021, 07:40:25 PM
A dropdown with prefilled values would also be possible. Would eliminate wrong values?
But then again, if you want to sell the plugin as is, with only option for creditcard that's your call  :)
Title: Re: [Improvement] Add form field to Stripe Payment section for payment method types
Post by: MB Themes on October 29, 2021, 08:13:11 AM
@MvdO79
No as it require some setup in stripe profile and is available only in EU currency :)
But will think about it ;)
Title: Re: [Improvement] Add form field to Stripe Payment section for payment method types
Post by: MvdO79 on October 29, 2021, 11:44:37 AM
Awww yes I understand now, no problem.
Title: Re: [Improvement] Add form field to Stripe Payment section for payment method types
Post by: MB Themes on October 29, 2021, 07:09:48 PM
I have added these options to osclasspoint.com, quite cool :)

Will add some option there, ... Some payment methods are limited to currency so this would need to be done as well
Title: Re: [Improvement] Add form field to Stripe Payment section for payment method types
Post by: MvdO79 on October 29, 2021, 08:18:11 PM
Nice  8) and would be great  :)
Title: Re: [Improvement] Add form field to Stripe Payment section for payment method types
Post by: Hugo on September 14, 2022, 04:54:29 PM
Could you please inform me on how to add ideal/sepa/giro/etc?