# Simple Membership Plugin

China Payments Plugin supports accepting payments via WeChat Pay and Alipay with the [Simple Membership Plugin](https://wordpress.org/plugins/simple-membership/).&#x20;

Once you've [configured](https://docs.chinapaymentsplugin.com/getting-started/setup-process) China Payments Plugin and [activated necessary payment methods](https://docs.chinapaymentsplugin.com/getting-started/activating-payment-methods), go to *WP Membership > Payments > Create New Button*. Then, select to create a new button with WeChat Pay or Alipay, and click *Next*.&#x20;

<figure><img src="https://61906910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdKImHVtiGW2y8sh9l2%2Fuploads%2FSqZfQpPqu3SRLKWNb5n6%2Fcreate-new-button-simple-membership.png?alt=media&#x26;token=ca1af466-5b86-4b9a-9964-2de3580bd12c" alt="Creating a New Button in Simple Membership Plugin"><figcaption><p>Creating a New Button in Simple Membership Plugin</p></figcaption></figure>

On the next page, you can customize the following details about the button:

* Button title
* Membership level
* Payment Amount
* Payment Currency (ensure that it matches either CNY or the default payout currency for your Stripe account)
* Return URL (the URL your visitors will be redirected upon payment completion)
* Button Image URL (customize the look of the button with an image instead of text)

<figure><img src="https://61906910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdKImHVtiGW2y8sh9l2%2Fuploads%2FofMJZOL9sRV8eXCInov3%2Fcustomizing-payment-button-simple-membership.png?alt=media&#x26;token=5b6bfc05-e621-49d6-8b1b-ec1847315945" alt="Customizing WeChat Pay Payment Button Options in Simple Membership"><figcaption><p>Customizing WeChat Pay Payment Button Options in Simple Membership</p></figcaption></figure>

Click *Save Payment Data*, and then copy the shortcode from the *Manage Payment Buttons* section and put it anywhere on your website where you want members to sign up.&#x20;

<figure><img src="https://61906910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdKImHVtiGW2y8sh9l2%2Fuploads%2FRFtDBiKFAtoi8ZVAp5V2%2Fcopying-shortcode-simple-membership-plugin.png?alt=media&#x26;token=65ff3cc5-e8a1-409b-b9b1-b3ab912293f4" alt="Copying Shortcodes for Payment Buttons in Simple Membership Plugin"><figcaption><p>Copying Shortcodes for Payment Buttons in Simple Membership Plugin</p></figcaption></figure>

{% hint style="info" %}
To complete payment, your members must be registered as free users first. This is the default approach taken by the Simple Membership Plugin.&#x20;
{% endhint %}
