Some business locations and currencies require you to send a customers shipping or billing address to Stripe to process a successful transaction.
Due to a high number of disputes, all international card payments made to businesses based in India will go through 3D Secure (3DS) authentication which requires the customers address details sent in the transaction.
The official WooCommerce Stripe integration does not have any options to send shipping or billing address data to Stripe.
If you are receiving this error.
“As per Indian regulations, export transactions require a billing address/shipping address. More info here: https://stripe.com/docs/india-exports”
You need to have a way of sending customer billing or shipping address to Stripe.
Here’s a quick function that adds the customer’s shipping or billing address details to the Stripe transaction for processing.
Where To Put The Code Snippet?
This code snippet should go in your active theme’s functions.php file.
Add it to the bottom of the file, before any closing ?> characters.
It’s always a good idea to take a backup of your functions.php file in case anything goes wrong – you can just copy the old code back in again.
Are You New To WooCommerce?
If you haven’t yet started to build an email list of your WooCommerce shop customers, now is the best time to get started.