# 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](/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*.&#x20;

<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.&#x20;

<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.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chinapaymentsplugin.com/checkout-flows/simple-membership-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
