Table of Contents
Starting with November 2019, Stripe is available for Indian merchants in order to process charges related to the export of services.
But in order to process such charges, there are a few requirements:
More info can be read about this on the Stripe Support website: https://support.stripe.com/questions/requirements-for-india-export-charges
Paid Member Subscriptions lets you select the currency that you want to charge your users in by going to Settings -> Payments -> Currency.
In order to satisfy the other requirements, a few changes to the default behavior of Paid Member Subscriptions are necessary:
In order to request Billing Details from the customer you need to install and activate either the Invoices or the Tax & EU VAT add-on.
By default, the First and Last Name fields from the form are not required. In order to make them required, you need to add the following snippet of custom code to your website:
add_filter( 'pms_register_form_label_first_name', 'pmsc_first_name_field_label');
function pmsc_first_name_field_label( $attributes ){
return __( 'First Name *', 'paid-member-subscriptions' );
}
add_filter( 'pms_register_form_label_last_name', 'pmsc_last_name_field_label');
function pmsc_last_name_field_label( $attributes ){
return __( 'Last Name *', 'paid-member-subscriptions' );
}
add_action( 'pms_register_form_validation', 'pmsc_first_last_validation' );
function pmsc_first_last_validation(){
if( empty( $_POST['first_name'] ) )
pms_errors()->add( 'first_name', __( 'This field is required.', 'paid-member-subscriptions' ) );
if( empty( $_POST['last_name'] ) )
pms_errors()->add( 'last_name', __( 'This field is required.', 'paid-member-subscriptions' ) );
}
You can download a small plugin containing this code from here. After downloading, you just need to install and activate it on your website.
The code can also be added inside the `functions.php` file from your child theme.
If you need help with any of this or have questions, don’t hesitate to contact our customer support.
Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.
Get Paid Member SubscriptionsCombine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.
Get 25% off with the bundle