Title: USDPAY for MemberPress
Author: USDPAY
Published: <strong>20 سپتامبر 2026</strong>
Last modified: 20 سپتامبر 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/usdpay-for-memberpress/assets/banner-772x250.png?rev=3711194)

![](https://ps.w.org/usdpay-for-memberpress/assets/icon.svg?rev=3704454)

# USDPAY for MemberPress

 توسط [USDPAY](https://profiles.wordpress.org/probizi91/)

[دانلود](https://downloads.wordpress.org/plugin/usdpay-for-memberpress.1.0.0.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/usdpay-for-memberpress/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/usdpay-for-memberpress/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/usdpay-for-memberpress/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/usdpay-for-memberpress/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/usdpay-for-memberpress/)

## توضیحات

USDPAY for MemberPress adds a USDT payment method for MemberPress. Payments are 
sent directly to the merchant’s wallet. The plugin supports one-time, lifetime and
fixed-duration memberships through hosted USDPAY checkout on TRC20, TON or BEP20.

The plugin forwards the original MemberPress transaction amount and currency to 
USDPAY. Currency conversion happens on the USDPAY server; the plugin does not calculate
exchange rates. A membership transaction becomes complete only after a valid signed`
invoice.paid` webhook is verified and matched to its saved invoice, order reference,
amount and currency.

Features:

 * Separate MemberPress gateway installed through the official `mepr-gateway-paths`
   extension point.
 * Stable invoice idempotency keys and durable payment-attempt history.
 * Customer or merchant network selection: TRC20, TON and BEP20.
 * HMAC-SHA256 verification over the exact raw webhook body.
 * Atomic webhook replay and transaction-level fulfillment protection.
 * Safe handling of paid, simultaneously paid, duplicate and expired invoice events.
 * API and webhook secrets remain server-side and are never rendered back into HTML.

Recurring automatic wallet charges are not supported.

#### External service

This plugin connects to [USDPAY](https://usdpay.me/) to create an invoice and redirect
the customer to hosted checkout. It sends the transaction amount and ISO currency,
a non-sensitive internal MemberPress transaction reference, invoice lifetime, webhook
callback URL, return URL and the selected network when one is fixed by the merchant.
It does not send wallet private keys, seed phrases or payment-card data.

USDPAY sends signed payment-status webhooks back to the WordPress REST endpoint 
created by the plugin.

 * Terms: https://usdpay.me/legal/terms
 * Privacy policy: https://usdpay.me/legal/privacy

### Requirements

 * WordPress 6.5 or newer.
 * PHP 8.0 or newer.
 * MemberPress 1.14.x.
 * A public HTTPS WordPress site.
 * A USDPAY merchant store with receiving wallets, a secret API key and webhook 
   signing secret.

MemberPress Cart is not declared supported in version 1.0.0.

### Security

The webhook endpoint reads the exact raw body, verifies `X-USDPAY-Signature` with
timing-safe comparison, checks event headers against the body and claims the event
idempotency key atomically before changing MemberPress. Invalid, unknown or mismatched
events cannot activate access.

Protect WordPress administrator accounts, the database and backups as you would 
for any payment integration. The plugin never needs a wallet seed phrase or private
key.

### Troubleshooting

 * Gateway missing: confirm MemberPress is active and that the membership is not
   automatic recurring.
 * Unable to start payment: confirm the API key, site domain approval, receiving
   wallets and supported currency.
 * Webhook rejected: confirm the webhook secret belongs to the same USDPAY store
   as the API key.
 * Access still pending: check that the site is publicly reachable by HTTPS and 
   inspect debug logs after enabling both `WP_DEBUG` and gateway debug mode.

## نصب

 1. Install and activate MemberPress.
 2. Upload `usdpay-for-memberpress-1.0.0.zip` under Plugins > Add New > Upload Plugin
    and activate it.
 3. In USDPAY, create or select the store for this WordPress website and configure 
    receiving wallets.
 4. Create a secret API key and copy the store webhook signing secret.
 5. Open MemberPress > Settings > Payments and add `USDPAY — USDT`.
 6. Enter both secrets, choose invoice expiration and network behavior, then save.
 7. Confirm that the displayed webhook URL uses public HTTPS.
 8. Buy a small one-time membership and verify that access activates only after on-
    chain confirmation.

## سوالات متداول

### Does the plugin support automatic recurring memberships?

No. A blockchain wallet cannot be charged automatically like a stored payment card.
Version 1 supports one-time, lifetime and fixed-duration memberships only.

### Does returning from checkout activate access?

No. The return page is informational. Only a verified signed `invoice.paid` webhook
can complete the MemberPress transaction.

### Where are secrets stored?

The API key and webhook secret are stored in private WordPress options and used 
only by server-side PHP. Saved values are masked in the MemberPress settings screen
and never returned in HTML or JavaScript.

### Can MemberPress use EUR, GBP or another currency?

Yes, when the currency is supported by USDPAY. The original decimal amount and ISO
currency are sent to USDPAY, which calculates the required USDT amount.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“USDPAY for MemberPress” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ USDPAY ](https://profiles.wordpress.org/probizi91/)

“USDPAY for MemberPress” به 2 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/usdpay-for-memberpress/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “USDPAY for MemberPress” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/usdpay-for-memberpress)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/usdpay-for-memberpress/)،
[مخزن SVN](https://plugins.svn.wordpress.org/usdpay-for-memberpress/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/usdpay-for-memberpress/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/usdpay-for-memberpress/)
مشترک شوید.

## گزارش تغییرات

#### 1.0.0

 * Initial MemberPress gateway.
 * Added multi-currency invoice creation, hosted checkout and optional fixed network.
 * Added signed, idempotent paid and expired webhook handling with compact production
   payload correlation.
 * Added transaction-level fulfillment protection and duplicate-payment retention
   for manual review.
 * Added server-side secret storage and safe return-status page.
 * Added executable webhook, API idempotency and MemberPress lifecycle tests to 
   the plugin package.
 * Full uninstall removes credentials while preserving payment history.
 * Resolved Plugin Check findings for the public package.

## اطلاعات

 *  نگارش **1.0.0**
 *  آخرین به‌روزرسانی **3 هفته پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 6.5 یا بالاتر **
 *  آزمایش‌شده تا **7.1.3**
 *  نگارش PHP ** 8.0 یا بالاتر **
 *  زبان‌ها
 * [English (US)](https://wordpress.org/plugins/usdpay-for-memberpress/)، [Russian](https://ru.wordpress.org/plugins/usdpay-for-memberpress/)،
   و [Spanish (Spain)](https://es.wordpress.org/plugins/usdpay-for-memberpress/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/usdpay-for-memberpress)
 * برچسب
 * [cryptocurrency](https://fa.wordpress.org/plugins/tags/cryptocurrency/)[memberpress](https://fa.wordpress.org/plugins/tags/memberpress/)
   [memberships](https://fa.wordpress.org/plugins/tags/memberships/)[payment gateway](https://fa.wordpress.org/plugins/tags/payment-gateway/)
   [USDT](https://fa.wordpress.org/plugins/tags/usdt/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/usdpay-for-memberpress/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/usdpay-for-memberpress/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/usdpay-for-memberpress/reviews/)

## مشارکت کنندگان

 *   [ USDPAY ](https://profiles.wordpress.org/probizi91/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/usdpay-for-memberpress/)