> For the complete documentation index, see [llms.txt](https://docs.chinapaymentsplugin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chinapaymentsplugin.com/checkout-flows/simple-membership-plugin.md).

# 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/).

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

<figure><img src="/files/Lgh3npMf2jHJI6tncqns" 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="/files/egGkXpdfLsxqDYhS4tt6" 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.

<figure><img src="/files/QWz7cE8CrwGGCN5H6ovJ" 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.
{% endhint %}
