Hi @keramikoch
Thanks for contacting us. Are you programmatically filtering those payment gateways by chance or are they disabled in the settings?
Kind Regards
-
This reply was modified 3 years, 3 months ago by
Clayton R.
Hi @mrclayton
alll payment gateways like afterpay are disabeld. Only Stripe Credit Cards is enabled.
Hi @keramikoch
We aren’t able to replicate as the payment gateway should always exist in the list of payment gateways, even if they are disabled. The only way they wouldn’t be in that list is if they were being programmatically removed somewhere else.
I’ll make a note to have an additional check added to that code for this scenario.
Kind Regards,
Hi, what do you mean by “should always exist in the list of payment gateways” Where can I see/check that list of payment gateways (in the frontend?) and if they are loaded or blocked?
“I’ll make a note to have an additional check added to that code for this scenario.” Thank you, will this be there with the new version?
Hi, what do you mean by “should always exist in the list of payment gateways”
The function WC()->payment_gateways()->payment_gateways() which the Stripe plugin uses contains a comprehensive list of all payment gateways that are installed. That includes both active and inactive so it’s an unfiltered list. The stripe_affirm and stripe_afterpay classes should always exist so that’s odd that they’re unset in your site.
The only way that would be possible is if you’re using one of the Stripe plugin filters to programmatically remove them.
Thank you, will this be there with the new version?
Yes
Kind Regards
Thank you for the information 🙂 Out of curiosity, I did not actively unset or do something else with stripe_affirm and stripe_afterpay. How can that be – how and where can I check that?