How to debug a rule customization

How to find the exact name of a payment method
Written by Andrea Morone
Updated 2 months ago

If the rule created with HidePay is not working, it might be helpful to enable DEBUG mode to understand what is not functioning correctly. Most likely, it is due to an incorrect payment method name entered.

Attention: Enabling DEBUG mode will generate false errors and the rule will continue to not work, but don't worry, your users will not be affected.

To enable DEBUG mode, open the rule you have configured and activate the SWITCH located on the right of the screen:

After activating DEBUG mode, you'll encounter false errors that need to be shared with us. Those errors will be generated when you refresh your checkout page on your Shopify store.
To locate these errors, simply click on the "Share logs" link found next of the debug bottn.

You will access the "Payment Customizations" section and see the rule that generated the errors highlighted. Click on the "Customization failed" link and then on "Share error report with the developer".

At this stage, we will receive the log of your errors and be able to assist you in getting the created rule to work properly.

Please remember to disable DEBUG mode after sharing the errors with us.

Did this answer your question?