Testing Checklist
Run through this checklist before going live:1. Create Session
- API call returns
success: true - You get a
checkoutUrl
2. Checkout Page
- Your store name appears
- Correct amount displays
- Card form loads properly
3. Success Flow
- Enter card details, click “Pay Now”
- Customer redirected to your
successUrl - You receive
sessionIdand transaction parameters in URL
4. Cancel Flow
- Click “Cancel” on checkout
- Customer redirected to your
cancelUrl
5. Verification
- Your server calls
GET /api/sessions/{sessionId} - Status returns
completed
Elavon Sandbox Testing
Make sure your checkout API calls are pointing at
https://sandbox-checkout.ozura.com, not https://checkout.ozura.com.- A test vault key (from a Test project at ozuravault.com)
- Sandbox OzuraPay credentials (merchant ID + PayAPI key) from the merchant dashboard’s Sandbox toggle
- Checkout API calls directed at
https://sandbox-checkout.ozura.com
How It Works
For example:
$25.00→ Approval$25.88→ Declined$25.13→ Amount Error
Test Card Numbers
Ozura Checkout accepts card numbers of 13–19 digits (Luhn-valid). Any of these test card numbers will work in sandbox mode. The amount determines success or failure:
CVV: Any 3 digits (4 digits for Amex)
Expiry: Any future date
Important: Tax Affects the Final Amount
When testing, remember that sales tax changes the final amount sent to Elavon. Ozura calculates sales tax from the customer’s billing address and adds it before the payment page opens. The checkout order summary shows the exact total, including tax, before you continue, and that’s the amount Elavon receives. For example:- Base amount:
$26.52 - Billing ZIP code:
10001(New York) - The total sent to Elavon includes New York sales tax, so it can land on an amount that triggers a decline. Check the total in the summary before you continue.
Tips for Predictable Testing
- Use round amounts like
$25.00or$30.00to ensure approvals - Use
taxExempt: truewhen creating test sessions to skip tax calculation - Use a billing address in a state with no sales tax (for example Portland, OR
97204); the summary shows No sales tax for this address
$25.00 → Approval
Example: Testing Decline (Tax-Exempt)
$25.88 → Declined
Common Test Issues
”Authentication failed” on submit
Checkout sessions expire after 30 minutes. If you created the session and then waited more than 30 minutes before clicking Continue to payment, the session will be expired. Create a new session and use the new checkout URL.”Session not found”
Sessions expire after 30 minutes. Create a new one.”Invalid API key”
Double-check your API keys match what’s in your Ozura Dashboard.CORS errors
For popup and new tab modes, make sureparentOrigin exactly matches your website URL (including https://). In sandbox, checkout’s events come from https://sandbox-checkout.ozura.com, so your message listener must accept that origin rather than https://checkout.ozura.com.
Unexpected decline
Check if tax was applied. The total sent to Elavon includes sales tax, so it might end in.88 even if your base amount didn’t. The order summary shows the exact total before you continue.
Ready for Production?
Going live means switching from sandbox credentials and URLs to their production equivalents:- Get a production vault key. Production vault applications are gated behind an approval step — apply via the Ozura Vault product UI or your Ozura representative. Test vault keys do not work in production.
- Switch to production OzuraPay credentials. In the merchant dashboard, flip the Sandbox/Production toggle to Production and use the merchant ID + PayAPI key shown there.
- Point your checkout API calls at
https://checkout.ozura.cominstead ofhttps://sandbox-checkout.ozura.com. - Make a small real payment to verify the end-to-end flow before sending production traffic.