BUG: 1.5.2 breaks Direct Post
-
Direct Post stopped working in 1.5.2 because the field name for the token doesn’t match, it looks like it’s been changed from ‘fatzebra-token’ to ‘card_token’. This causes Direct Post payments to fail, the Tokenization works but the gateway returns an error (because no Token is submitted with the payment request).
I’ve changed ‘card_token’ back to ‘fatzebra-token’ and this seems to have fixed the problem.
Line 250 of class-wc-fatzebra.php:
$this->params["card_token"] = $_POST['fatzebra-token'];
Also, I put through a transaction using our live credentials but with Test Mode enabled, it seems to have actually charged my credit card (there is a hold on the funds). I don’t have the ability to debug this further but it might be worth checking.
Thanks
https://www.ads-software.com/plugins/woocommerce-fat-zebra-gateway/
- The topic ‘BUG: 1.5.2 breaks Direct Post’ is closed to new replies.