=== TRCGATEWAY Pay Button ===
Contributors: trcgateway
Tags: usdt, usdc, crypto payments, pay button, stablecoin
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A "Pay with USDT / USDC" button for any page or post. Customers pay straight into your own wallet.

== Description ==

For blogs, landing pages, course and service sites — anywhere without a shopping cart. (Selling in a WooCommerce store? Use "TRCGATEWAY.COM for WooCommerce": it marks orders paid by itself.)

* Create buttons inside WordPress: a fixed price, or the customer types the amount.
* Place them with the "TRCGATEWAY.COM pay button" block, or the shortcode [trcgateway_button id="btn_…"] in the classic editor, widgets and page builders.
* The payment opens in a window on top of your page. Without JavaScript the button is still a link to the payment page.
* Networks: TRON (TRC20), BNB Chain (BEP20), Polygon, Arbitrum and Base. Which ones a customer is offered is set in your TRCGATEWAY.COM dashboard.
* The money goes from the customer's wallet or exchange straight into YOUR wallet. TRCGATEWAY.COM never holds it.

== Installation ==

1. Plugins → Add New → Upload Plugin → choose trcgateway-pay-button.zip → Install → Activate.
2. Open "Pay buttons" in the admin menu.
3. Paste your secret key from the dashboard (https://trcgateway.com/dashboard → Developers) to create buttons here. Optional: buttons made in the dashboard work with just their ID.

== Shortcode ==

[trcgateway_button id="btn_…" text="Pay now" color="green" size="full" success_url="https://example.com/thanks/"]

* color: green, dark, blue or light
* size: "full" for a full-width button
* success_url: where the customer goes after paying

== External services ==

This plugin works with the TRCGATEWAY payment service (https://trcgateway.com):

* On pages with a pay button, the visitor's browser loads the gateway's button script (https://trcgateway.com/embed.js). A click opens the gateway's payment window (https://trcgateway.com/b/...), where the customer pays. The script only draws the button and the window; without it the button is a plain link to the same payment page.
* In the admin, when you save a secret key or create, list or switch off buttons: those requests (button name, price, description, coin, return link) go to the gateway's API.

Terms of service: https://trcgateway.com/terms
Privacy policy: https://trcgateway.com/privacy

== Changelog ==

= 1.0.0 =
* First release.
