Checkout in a Mobile WebView
Why use a WebView?
Generating the checkout URL
curl https://api.lahza.io/transaction/initialize
-H "Authorization: Bearer YOUR_SECRET_KEY"
-H "Content-Type: application/json"
-d '{ "email": "[email protected]", "amount": "10000" }'
-X POST{
"status": true,
"message": "Authorization URL created",
"data": {
"authorization_url": "https://checkout.lahza.io/keigjNjru82",
"access_code": "jsj823JUD",
"reference": "dj28ejU"
}
}Displaying Checkout in Your WebView
Keep in mind
Last updated