Before charging, we check if the saved customer ID exists in Omise server or not. If not then we create a new customer and save the customer ID to the Wordpress.
3. Quality assurance
Create new account on Wordpress/WooCommerce
Checkout with 3DS and save card when making a payment
Delete that customer ID from Omise via API
Try to use the same Wordpress account to save card again and it should not fail
1. Objective
Customer can saved the card if the customer ID is removed separately from the API.
Jira Ticket: #448
2. Description of change
Before charging, we check if the saved customer ID exists in Omise server or not. If not then we create a new customer and save the customer ID to the Wordpress.
3. Quality assurance
🔧 Environments: