Comment to VERY IMPORTANT: Customer Tax ID
-
Hello
> Question #1:
Yes, this Create Session method is used for both single and recurring payments.
> Question #2:
You need to add the following code
'tax_id_collection' => [ 'enabled' => true, ], 'customer_update' => [ 'name' => 'auto', 'address' => 'auto', ],just before this one in BxPaymentProviderStripeV3.php file:
'mode' => $sMode, 'success_url' => '', 'cancel_url' => '',-
Hello. When you've got 'Cannot perform...' error message you need to check log file. It should have more detailed description of the problem. It should help to understand what can be done.
-
Thanks for your reply. Oh yeah, I forgot about that one.
Here are the errors in the sys_payments log:
Jun 09 12:24:57 [23] /m/payment/call/stripe_v3/get_session_recurring/7/ :
[stripe_v3]
Create Session Error: `customer_update` can only be used with `customer`.
Jun 09 12:24:57 [23] /m/payment/call/stripe_v3/get_session_recurring/7/ :
[stripe_v3]
array (
'charge' => NULL,
'code' => NULL,
'decline_code' => NULL,
'doc_url' => NULL,
'message' => '`customer_update` can only be used with `customer`.',
'param' => NULL,
'payment_intent' => NULL,
'payment_method' => NULL,
'setup_intent' => NULL,
'source' => NULL,
'type' => 'invalid_request_error',
'request_log_url' => 'https://dashboard.stripe.com/test/logs/req_xxxxxxxxxxxxxx?t=xxxxxxxxxx',
)
-
Hi @Anton L
A week ago, and per your request, i posted the error messages found in the sys_payment log. Please could you provide a fix to this problem?
Thank you.