blydew
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Activity Log] Fatal error WooCommerce 5.3.1I opened a duplicate ticket after some issues posting and getting a 404.. Closing this ticket in favour of the duplicate here.
Some further information here, it seems like outdated DNS caching on my/our servers or ISP could be to blame.
This check doesn’t seem that necessary from a security perspective, and does result in longer processing of the ITN request. The request signature is already verified to protect against spoof requests, so verifying the origin by DNS seems redundant. I guess it can be removed from the plugin code entirely?
The solution @rajeshml gives bypasses this check fully anyway and seems to work fine ??
I can confirm the same behaviour, which in my case is intermittent. Some ITN request IP addresses are validated correctly, others are failing. The plugin logic performs its own DNS resolution of the list of PayFast hosts using
gethostbynamel
, so the plugin itself is not responsible for maintaining an accurate list of IP addresses. That responsibility lies with DNS resolution by the server/ISP hosting the website.Also, I don’t understand what you meant about the redirect, @rajeshml. Could you explain more?
Forum: Plugins
In reply to: [WooCommerce] Adding a new drop-down field to billing address formHey everyone,
I need to create a custom field (how many months?) which needs to change the cart total upon changing the select option. So basically, the total would be multiplied by the number they select in my select list of the custom field. I would like this to be done via ajax. Any ideas?