WeChat Pay for Zoho CRM

WeChat Pay for Zoho CRM

Installing the extension

You can install the extension either from Zoho Marketplace or from the Zoho CRM.

To install the extension:
  1. Navigate to Setup > Marketplace > All.
  2. Click All Extensions, then browse for and click WeChat Pay.
  3. Click Install Now.
  4. Agree to the Terms of Service and click Continue.
  5. In Choose Users/Profiles, select one of the following options:
    1. Install for admins only
    2. Install for all users
    3. Choose profiles
  6. If you select the Choose profiles option, check all the profiles you want the extension to install for and click Confirm.
    The extension will be installed for the selected users.
  7. In Extension Settings, enter the Merchant ID, App ID, and Key.
  8. Click Save.


Note:
  1. To obtain Merchant ID, go to pay.weixin.qq.com > Account Center > account settings > Merchant Information
  2. To obtain App ID, go to mp.weixin.qq.com > Development > Basic configuration for App ID
  3. To obtain Key, go to pay.weixin.qq.com > Account Center > account settings > Api security

Define payment settings

The WeChat Pay application is designed with its basic currency as Chinese Yuan (CNY). So the final invoice amount has to be in Chinese Yuan. This can be achieved by any of the following.
  1. In Company Details page, select China as your country (only if applicable to you)
  1. Enable the multi currency option and add CNY to the currency list in Zoho CRM
  1. If neither applies to you, fill the Grand Total (CNY) field to have a equivalent amount in Yuan within the Invoices module.

Sending payment request

You can send an invoice to the contact associated  with a valid email address. Alternatively, you can use the QR code from the Business Card widget for immediate payments (scan and pay) for non-email users.
      
  1. Click the Invoices Module.
  2. Open the desired invoice to be sent from the list.
  3. Ensure the invoice has a contact associated along with the email address.
  4. Click Send Invoice - WeChat Pay.

The invoice along with the QR code will be sent to the contact's email and a note will be added under the Invoice module. The contact has to scan the QR code from their WeChat mobile app and make the payment. The validity of a QR code will be only two hours.
 
If you revisit the invoice after the expiry in Zoho CRM, the QR code will be auto-regenerated in the Business Card widget and can be shared again. However, if the customer access an expired QR code in the mail sent, you have to regenerate the QR code and send it again.
 
Once the payment has been made, a record for the payment will be added under the WeChat Pay payment History module. A note will be added for successful payments. You will also receive a SalesSignals notification for the payment made. 
 
If you add more line items after receiving the payment, you can send the invoice again. However, the QR will only be generated for the remaining amount to be paid.

Withdraw payment request

When you send an incorrect invoice and want to change it, you can revoke the payment code.

To invalidate a QR code:
  1. Click Invoices Module.
  2. Open the desired invoice to be sent from the list.
  3. Click Revoke Payment - WePay.
  4. Click Confirm.

The QR code sent will become invalid and the same will be communicated to the user via email.

Also, when a change is made to Line Items and Subject, the existing QR code will be made invalid and the new QR code will be auto generated.

Uninstalling the extension

To uninstall the extension:
  1. Go to Setup > Marketplace > All.
  2. Under All Extensions, you can view all the installed extensions.
  3. Browse for WeChat Pay and click the corresponding Uninstall link.
  4. Click Ok to confirm and uninstall the extension.