This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wc_payment_gateway_transaction_response_user_message', 'sv_customize_avs_mismatch_message', 10, 3 ); | |
/** | |
* Customize AVS mismatch error message. | |
* | |
* @param string $message message to show to user | |
* @param string $message_id machine code for the message, e.g. card_expired | |
* @param SV_WC_Payment_Gateway_API_Response_Message_Helper $helper helper instance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "first-test-message", // required | |
"datePublished": "2020-07-07", // required | |
"visibility": { // all optional | |
"activePlugins": [ | |
"WooCommerce Checkout Add-Ons", | |
"WooCommerce Local Pickup Plus" | |
], | |
"activeThemes": [ |
OlderNewer