Set up a test wallet
If you already have a crypto wallet, you can use it. Otherwise, follow these steps with Safepal wallet.- Install Safepal.
- Create a new wallet for testing (you will be asked to set a 6-digit password in case of safepal).
- Once the wallet is ready, do the backup. You can choose cloud backup or do manual (In manual you need to note down the mnemonic phrase shared - it acts as a master key to access/recover the wallet).
Note -
Never share your recovery phrase or private key with anyone. Cray does not need either to help you test a payment.Switch to Base Sepolia for Testing
- In Safepal, open the setting icon
- Go to Custom Network
- Add Base Sepolia network
Get testnet USDC from Circle
Circle provides testnet tokens for development and testing. Here’s how to get it.- Open the Circle Testnet Faucet
- Select USDC as the asset, Base Sepolia as the network.
- Copy your wallet’s public address from Safepal, you will be redirected to find the right wallet address
- Find Base Sepolia, copy the address, and paste it into the faucet’s Send to field.
- Click on the Send 20 USDC button, return to your wallet and check that the test USDC arrived.
Test Payment Flow
- Use Cray’s test environment and test API credentials to create a payment session.
- Display the QR code on your screen or POS test interface.
- Scan and pay from your wallet.
- Review the payment details shown in the wallet. Confirm that the network and token match the test environment.
- Approve the transaction in your wallet.
- After approving the transaction, verify that the order status updates through Cray’s Order Status API.
