Skip to main content

New Merchant Feature - Repair Abnormal Orders

· 3 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

This tutorial will guide you on how to repair orders where users have overpaid or underpaid through the backend management system.


Prerequisites

Before starting to repair orders, please ensure you have the following information:

  1. Order Number: The order number or payment number that needs to be repaired.
  2. Transaction Hash: The transaction hash of the user's payment (can be obtained through a blockchain explorer or payment platform).

Contract Factory Design: Reducing Blockchain Gas Costs through Templates and Tight Packing

· 4 min read
Pay Protocol Dev
Pay Protocol Dev
Pay Protocol Development Team

In the past decade, decentralized payments typically used EOA (Externally Owned Accounts) wallet solutions, including existing MPC solutions based on EOA wallet sharding. However, achieving fully decentralized payments without any custodial servers requires an all-contract solution for fund custody. The optimization of gas costs in full-contract solutions has been a core challenge for developers.

While full-contract solutions offer high security, optimizing their gas costs remains a core challenge for developers. This article will explore how to significantly reduce gas costs and promote the application of sub-contracts in real scenarios through contract factory template design and tight packing inline assembly solutions.

Pay Protocol Secure Self-Custody Solution

· 4 min read
Pay Protocol Dev
Pay Protocol Dev
Pay Protocol Development Team

What is Secure Self-Custody?

Secure self-custody is a fully smart contract-based solution for managing crypto assets. This solution allows merchants to have complete control over all crypto assets and permissions within their system without relying on any third-party servers or services. At the same time, it ensures multi-node security, preventing the loss of funds or data due to the compromise of a single point of authority.

When evaluating whether a solution meets the standard of secure self-custody, two key considerations must be addressed:

Buy Energy on Telegram

· 3 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

This tutorial will guide you on how to buy energy through the TG mini program to reduce transaction fees when performing functions such as aggregation and rebalancing on the Tron network.

Tutorial on Replacing Financial Address with Batch Transfer Contract Address

· 3 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team
info

This feature is only available for standard merchants.

The example addresses and accounts in the tutorial are for reference only. Please use your contract address and owner address for actual operations.

This tutorial will guide you on how to replace the batch transfer contract address and display the balance information of the address in the admin console. After the replacement, any administrator can perform the transfer-in operation, while only the owner of the batch transfer contract has the authority to perform the transfer-out operation.

New Merchant Feature - Automatic Energy Purchase

· 2 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

To help merchants reduce network fees, we have introduced the TRON automatic energy purchase feature. With the help of a third-party platform, merchants can automatically purchase energy before performing on-chain operations, thereby reducing TRX consumption.

If you need to use this feature, please follow the steps below:

How can merchants handle abnormal orders?

· 4 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

When customers make payments using Pay Protocol, merchants may encounter issues such as payment failure, overpayment, wrong address, or wrong currency. Merchants need to handle these issues based on the information provided by the customers.

How to save network fee on TRON?

· 5 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

TRON is a decentralized platform based on blockchain, aimed at establishing a global free content entertainment system. In the TRON network, bandwidth and energy are two important resources that are crucial for executing transactions and smart contracts.

The operation of Pay Protocol is based on smart contracts, and each operation by merchants requires a certain amount of bandwidth and energy. This article will introduce the concepts of bandwidth and energy, as well as how to save on network fees by purchasing energy on the TRON network.

How to withdraw funds from Pay Protocol?

· 3 min read
Pay Protocol Support
Pay Protocol Support
Pay Protocol BD & Support Team

According to the operating mode of Pay Protocol, the funds paid or recharged by customers will be stored in the merchant's sub-contract. Merchants can extract the funds to their own wallets through the "Aggregate"-"Rebalance"-"Transfer" process.