We need to send customer_id when saving payment token so PayPal will return the same customer_id in the response.
Steps To Reproduce
Enable Vaulting for ACDC
Save an ACDC payment from My account / Payment methods / Add payment method
Save another ACDC payment
Check payment tokens
Add product to cart and go to Classic Checkout
Try place order using the first payment you saved
Error: There was an error processing your order
This PR ensures customer_id is sent if it exist when saving the payment, so the same customer_id will be returned and therefore multiple payments will be available under the same customer id.
We need to send
customer_id
when saving payment token so PayPal will return the samecustomer_id
in the response.Steps To Reproduce
This PR ensures
customer_id
is sent if it exist when saving the payment, so the samecustomer_id
will be returned and therefore multiple payments will be available under the same customer id.