If you’re looking for a quick and easy way to integrate cryptocurrency payments into your web application, ZinariPay’s CDN option is the perfect solution. With no need to install any packages, you can start accepting USDT and USDC payments by simply including a script tag in your HTML file.
Step 1: Installation
Integrating .
Step 3: Initiate a Transaction
Once your instance is configured, you can initiate a transaction. This can be done by calling the initiateTransaction method on your ZinariPay instance.
Example of Transaction Initiation
// Access the ZinariPay instance
const zinariPayInstance = window.zinariPay;
// Example: Initiate a transaction
zinariPayInstance.initiateTransaction({
amount: 100,
details: {orderId: '#1234', description: 'Purchase Order #1234'},
onConfirmed: (response) => {
console.log('Transaction Confirmed:', response);
},
});
In this example, the transaction initiation is tied to a button click event. When the user clicks the “Pay with ZinariPay” button, the transaction process begins.
Conclusion
Integrating and start integrating ZinariPay today!

SOCIAL SHARE CARD GENERATOR