• Resolved Payment Plugins

    (@mrclayton)


    Hello,

    I had several customers contact me explaining that their payment gateways were not visible on the checkout page when WooCommerce Germanized was enabled. I have debugged the plugin and I notice that despite the Gateways being enabled during their initialization, the attribute $gateway->enabled is being set to “no”. I was unable to determine if your plugin manipulates this gateway attribute based on settings maintained in the plugin.

    Can you confirm if customers must maintain a particular setting in order for the gateway to appear on the checkout page?

    Kind Regards,

Viewing 1 replies (of 1 total)
  • Thread Starter Payment Plugins

    (@mrclayton)

    Hi,

    I was able to find the cause of why the gateways were not displaying. The issue was not with your plugin but rather how the gateways were treating their settings.

    Within class WC_GZD_Payment_Gateways there is a method manipulate_gateways which calls the get_option($key) method of the gateway. Within the get_option() method, if the settings array of the gateway is empty, then the default values are initialized. The default value for the enabled attribute was no, thus the gateways were not considered when the checkout page was being rendered.

    Kind Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Payment Gateways Not Available On Checkout Page’ is closed to new replies.