To accept your first payment right now, follow the Developer Quickstart instead.
How a payment flows through OwnPay
Payment States
Every payment goes through these states:1. Pending
- Payment created
- Awaiting customer action
- Link sent or form displayed
- No funds charged yet
2. Processing
- Customer submitting payment
- Gateway validating
- No result yet from gateway
- Customer sees loading spinner
3. Success
- Gateway approved payment
- Funds authorized
- Transaction recorded
- Webhook sent (if configured)
- Customer sees success page
4. Failed
- Gateway declined payment
- Could be:
- Insufficient funds
- Invalid card
- Fraud detection
- Temporary network error
- Webhook sent (if configured)
- Customer can retry
5. Refunded
- Payment was successful
- Funds returned to customer
- Initiated by merchant
- Recorded in transaction history
6. Disputed/Chargeback
- Customer disputed payment
- Gateway initiated reversal
- Funds returned
- Recorded as chargeback
Payment Methods
OwnPay supports multiple payment methods:Card Payments
- Credit Cards (Visa, Mastercard, AmEx)
- Debit Cards
- Processed by payment gateway (Stripe, PayPal, etc.)
Digital Wallets
- Apple Pay
- Google Pay
- PayPal
Local Payment Methods
- Bank Transfer
- Mobile Money (bKash, Nagad, GCash, etc.)
- Cash on Delivery
- Manual Invoice
Bank-Level Integration
- ACH Transfers (US)
- SEPA Transfers (EU)
- Direct Debit
Payment Creation
Via Payment Link
- Admin creates payment link
- System generates unique URL
- Customer visits URL
- Checkout form displayed
- Customer enters payment details
- Payment processed
Via Invoice
- Admin creates invoice
- System sends invoice via email
- Customer clicks payment link
- Checkout form displayed
- Customer enters payment details
- Payment processed
Via API
- Application creates payment intent
- OwnPay returns checkout URL or token
- Application displays payment form
- Customer enters payment details
- Payment processed
- Webhook notifies application
Via Hosted Checkout
- Application redirects to OwnPay
- Customer completes payment on OwnPay-hosted page
- OwnPay redirects customer back to application
- Webhook notifies application of result
Payment Processing Times
Security
- All payment data is encrypted in transit (TLS 1.2+)
- PCI DSS compliant gateway integration
- No sensitive card data stored on OwnPay servers
- Webhook signatures for verification
- Idempotency keys prevent duplicate charges
Further reading
- Transactions - View and filter transaction history in the admin dashboard
- Webhooks - Receive real-time payment notifications on your server
- Gateways - Configure payment gateway adapters and routing rules
Related Pages
- Gateways - Configure payment gateways
- Transactions - View transaction history
- Webhooks - Receive payment notifications