One-Time Purchase Integration - Solana Contract Settlement
One-Time Purchase Integration - Solana Contract Settlement
One-Time Purchase Integration - Solana Contract Settlement
This guide walks you through integrating Coinflow checkout to accept one-time credit card purchases with USDC settlement to your whitelisted Solana program.
Complete these steps before starting the integration.
Best for simple integrations. Generate a hosted checkout URL to redirect users or embed in an iframe.
After the payer completes checkout, create a redeem transaction to settle USDC to your contract. Create a base58 encoded transaction for your whitelisted program.
Have the user’s wallet sign and send the transaction.
Add the chargeback protection script to every page of your app.
Track key user actions throughout their journey.
On sandbox, use partnerId = COINFTEST when configuring the protection script.