Payfonte Inline
Inline checkout lets customers pay without leaving your page. You load the Payfonte SDK, initialize checkout with your transaction data, and open the payment iframe. CDN SDK URL:https://cdn.payfonte.com/payfonte.min.js
Why Use Inline?
Seamless UX
Customers stay on your site while completing payment.
Fast Integration
Add one script and trigger checkout from your pay button.
Event Hooks
Use callbacks for completion and close events in your app flow.
Before You Start
1
Get sandbox credentials
Retrieve your
client-id from Settings -> Security -> API Keys and Webhooks in sandbox-app.payfonte.com.2
Set your environment
Use
sandbox while testing and production only after go-live approval.3
Generate unique references
Create a unique
reference for every payment attempt to avoid duplicates.Quick Integration Example
Parameter Reference
Amount Rule (Important)
Payfonte does not support decimal API amounts. Send integer minor-unit values only.1000.00 NGN->100000250.50 NGN->25050
Recommended Production Flow
Create reference on backend
Create reference on backend
Generate the transaction reference from your backend so you can enforce
uniqueness and map it to your internal order.
Use callback for UI updates only
Use callback for UI updates only
Treat frontend callback as a user experience signal. Final fulfillment
should depend on backend verification or webhook confirmation.
Implement webhook confirmation
Implement webhook confirmation
Always process Webhooks to confirm final
transaction state (
success/failed).Handle retries idempotently
Handle retries idempotently
If callback/webhook repeats, ensure your order processing runs once per
reference.
Troubleshooting
Related Docs
Javascript SDK
Full SDK example and configuration reference.
Standard Checkout
Redirect-based alternative integration flow.
Webhooks
Validate final payment status on your backend.