Neither issue ticket has been addressed yet so that's to be expected.This is still an issue for us.
As far as I'm aware there isn't a trigger that CB Auto Actions could act on to insert anything into the credit card form page or trigger a cancellation. The best workaround I can suggest right now is make sure the basket isn't skipped. You can prevent the basket from being skipped via a number of ways: have more than 1 payment method, enable invoice address, have a coupon code available, have basket terms and conditions enable, have basket intro text configured, or use radio payment method selection. I believe any of those should prevent skipping basket where the cancel link is.Is it possible to create an 'Auto Action' to cancel the basket ?
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
I'd like to cancel the basket.krileon wrote: That depends entirely on what trigger you're using and what you're trying to do exactly.
Please Log in to join the conversation.
$ret .= $paymentBasket->displayBasket();
$ret .= $paymentBasket->displayBasket();
// add cancel link
cbpaidApp::import( 'processors.cancelpay.cancelpay' );
$cancelmethod = new cbpaidGatewayAccountcancelpay();
$payClass = $cancelmethod->getPayMean();
$ret .= $payClass->getPaymentBasketProcess( $user, $paymentBasket, 'buttons' );
$ret = '<form action="' . $postUrl . '" method="post" autocomplete="off" id="cbsubsCCform" name="cbsubsCCform" class="form-auto m-0 cb_form cbValidation">' . "\n";
$ret = '<form action="' . $postUrl . '" method="post" autocomplete="off" id="cbsubsCCform" name="cbsubsCCform" class="form-auto m-0 mt-2 cb_form cbValidation">' . "\n";
Please Log in to join the conversation.
Please Log in to join the conversation.