You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to enable ACDC for stores in Hong Kong. To enable this option, we first need to modify the plugin's file (attached is the guide we received from PayPal, referring to SG instead of HK but the drill is the same).
We modified woocommerce-paypal-payments/modules/ppcp-api-client/services.php (not DccApplies.php from the guide as it didn't work) but the problem with this approach is that we would need to modify the plugin's core file each time the plugin is updated. As a potential solution, we are suggesting that two filters be added to the plugin - allowed_country_currency_matrix and country_card_matrix so that we can modify the array outside of the core plugin. Thank you!
P.S. If there's another way for us to work around this issue, please do let me know. Thanks!
The text was updated successfully, but these errors were encountered:
InpsydeNiklas
changed the title
[Enhancement] Add filters for allowed_country_currency_matrix and country_card_matrix
[Enhancement] Add filters for allowed_country_currency_matrix and country_card_matrix (495)
Jan 10, 2022
Hi folks,
We're trying to enable ACDC for stores in Hong Kong. To enable this option, we first need to modify the plugin's file (attached is the guide we received from PayPal, referring to SG instead of HK but the drill is the same).
Enabling_ACDC_in_WooCommerce.pdf
We modified woocommerce-paypal-payments/modules/ppcp-api-client/services.php (not DccApplies.php from the guide as it didn't work) but the problem with this approach is that we would need to modify the plugin's core file each time the plugin is updated. As a potential solution, we are suggesting that two filters be added to the plugin - allowed_country_currency_matrix and country_card_matrix so that we can modify the array outside of the core plugin. Thank you!
P.S. If there's another way for us to work around this issue, please do let me know. Thanks!
The text was updated successfully, but these errors were encountered: