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
/** | |
* List enquiries. | |
* | |
* @param {Object} data - REST API Response data. | |
*/ | |
function listEnquiries( data ) { | |
var __ = wp.i18n.__; | |
data.forEach( |
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
/** | |
* Register block styles. | |
*/ | |
function prefix_register_block_styles() { | |
$blocks = array( | |
'columns', | |
'coverImage', | |
'group', | |
'gallery', | |
'heading', |
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
// Location: watupro/i/models/payment.php | |
// Line: 43 | |
// Add hooks to modify reidrect. | |
$ww_bridge_redirect = apply_filters( 'watupro_payment_render_ww_bridge_redirect', true, $exam, $user_ID ); | |
$link = get_permalink($advanced_settings['woo_product_id']); | |
if ( $ww_bridge_redirect && $link ) { | |
watupro_redirect($link); | |
} else { |
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
<IfModule mod_headers.c> | |
<FilesMatch "\.(jpg|png)$"> | |
Header set Access-Control-Allow-Credentials true | |
SetEnvIf Origin "http(s)?://(www\.)?(example.com|anotherexample.com)$" AccessControlAllowOrigin=$0 | |
Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin | |
Header merge Vary Origin | |
</FilesMatch> | |
</IfModule> |
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
/** | |
* Fix Deliver with Econt checkout process. | |
* | |
* Check cart for virtual products and remove action 'action_woocommerce_checkout_process' | |
* hooked in plugins/deliver-with-econt/bootstrap.php:393 if there are only | |
* virtual products. | |
*/ | |
function fix_econt_checkout_process() { | |
// Change this to 0 to disable logging. |
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
2020-07-24T11:20:33+03:00 DEBUG CurlClient request method: post | |
2020-07-24T11:20:33+03:00 DEBUG CurlClient request set opts: Array | |
( | |
[CURLOPT_POST] => 1 | |
[CURLOPT_HTTPHEADER] => Array | |
( | |
[0] => Content-Type:application/json | |
) | |
[CURLOPT_POSTFIELDS] => {"merchantOrderID":"200","merchantOrderDesc":"Test order description","orderAmount":"100.00","orderCurrency":"USD","customerEmail":"[email protected]","customerFirstName":"John","customerLastName":"Lock","customerAddress":"The Swan, Jungle St. 108","customerCountryCode":"US","customerCity":"Los Angeles","customerState":"CA","customerZipCode":"90015","customerPhone":"+1 420-100-1000","customerIP":"134.201.250.130","customerBankCode":"","redirectUrl":"http:\/\/localhost\/redirect","callbackUrl":"http:\/\/localhost\/callback","checkoutUrl":"http:\/\/localhost\/checkout","customParam":"{\"TestCustomParam\":\"123\"}","language":"EN","signature":"7affe8ef06db0863a05c0c03e5d42f3d728cbc69fc8fd6026098e22864aa93e4"} |