Skip to content

Instantly share code, notes, and snippets.

View kdctek's full-sized avatar

KDC kdctek

View GitHub Profile
@kdctek
kdctek / kdc-wc-stripein-fix.php
Created August 13, 2020 21:44
WooCommerce Stripe Gateway - India FIX | In version 4.5.1, WooCommerce Stripe plugin restricted use to the plugin, if the Store Address is not listed in the supported country list. This piece code, will (1) Re-Enable India as a supported country, even in the Preview phase. (2) Allow Indian merchants to enable `Export of Goods` compatibility, thu…
<?php
/**
* Plugin Name: WooCommerce Stripe Gateway - India FIX
* Plugin URI: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/1284
* Description: Stripe India, requires to pass some addtional parameters. [Read Here](https://stripe.com/docs/india-exports)
* Author: KDC
* Author URI: https://kdc.in/
* Version: 1.0.0
* Requires at least: 4.4
* Tested up to: 5.5
@kdctek
kdctek / kdc-wc-stripein-fix.php
Last active August 24, 2020 15:30
WooCommerce Stripe Gateway - India FIX
<?php
/**
* Plugin Name: WooCommerce Stripe Gateway - India FIX
* Plugin URI: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/1284
* Description: Stripe India, requires to pass some addtional parameters. [Read Here](https://stripe.com/docs/india-exports)
* Author: KDC
* Author URI: https://kdc.in/
* Version: 1.0.1
* Requires at least: 4.4
* Tested up to: 5.5