-
Notifications
You must be signed in to change notification settings - Fork 1k
BTCPayments Plugin
BTCPayments lets a user fund an AVideo wallet with Bitcoin. The plugin depends on YPTWallet and is currently marked under development in the source, so test it before production use.
| Mode | Uses real Bitcoin | Address setting | Use it for |
|---|---|---|---|
| Testnet | No | siteWalletTest |
Testing the complete payment workflow |
| Mainnet | Yes | siteWallet |
Real payments after testing and operational review |
Testnet coins have no monetary value. Mainnet transactions can have network and service fees and normally cannot be reversed.
- Enable and configure YPTWallet.
- Sign in as an administrator and open Admin → Plugins → BTCPayments.
- Open the plugin parameters.
- Enter the appropriate receiving address in
siteWalletand a separate test address insiteWalletTest. - Enter the
BTCMarketPlaceKeyissued for this site. - Set
useTestNetto true and save. - Use Edit on the plugin row to review invoices/payments and Status to check the service connection.
- Complete a testnet payment before switching
useTestNetoff.
Never use a testnet address on mainnet or a mainnet address on testnet. Verify a receiving address outside AVideo before accepting payments.
- The user opens the wallet and selects Add Funds.
- The user enters an amount and chooses Bitcoin.
- The payment page displays a Bitcoin amount, address, and QR code.
- The user sends the exact amount using a wallet on the configured network.
- After the required confirmation, AVideo credits the user's wallet.
- The user can review the invoice and receipt.
Why is the wallet not credited immediately? The transaction may still be unconfirmed, may have used the wrong network or amount, or the status callback may have failed.
Does it support recurring Bitcoin charges? It funds YPTWallet. Recurring access is managed separately by the relevant AVideo monetization workflow.
Are fees fixed? No. Network and service fees can change. Check the amount shown before payment and the current service terms.
What should be recorded for support? Keep the invoice ID, transaction ID, network, time, amount, and sanitized logs. Never share wallet seed phrases or private keys.