Replies: 0
Hi there,
I use your plugin on our ecommerce and everithing works fine but in the last few weeks I get error “Authentication Required 2099” on many transaction.
When customer makes payment on checkout, I save customerID to use it in subsequent payments.
I’ve always used this code
$response = $gateway->transaction()->sale([
'customerId' => $customer_id,
'amount' => wc_format_decimal($amount),
'orderId' => 'xxxxx',
'options' => [
'submitForSettlement' => true
]
]);
but in the last weeks I get the above error: Authentication Required 2099.
I tried with customerId or payment token but result is the same.
I use value from order _wc_braintree_credit_card_customer_id / _wc_braintree_credit_card_payment_token.
I would like to know if I can use plugin to create and pay order programmatically.
Can you help me to understand?
Thanks David.