Inline Checkout
The quickest way to build conversion - optimized payment forms, hosted on FCMB
How to Integrate
<button class="btn-go-checkout" onclick="paywithFcmb()">
<script src="https://checkout.seerbitapi.com/api/v2/seerbit.js"></script>
<script>
function paywithFcmb() {
SeerBit({
"tranref": new Date().getTime(),
"currency": "NGN",
"description": "TEST",
"country": "NG",
"amount": "100.00",
"full_name": "test test", //optional
"email": "[email protected]", //optional
"vendorId": "attach yor sub-account ID", //optional
"callbackurl": "http://yourdomain.com",
"public_key":"your pk_78892hhiiw82", //replace this with your own public key
"setAmountByCustomer": false //optional (set true to allow customer set the amount on the checkout)
},
function callback(response, close) {
/*response of the tansaction*/
/*close is a function to close the checkout*/
},
function close(close) {
console.log(close) /*transaction close*/
})
}
</script>Optional Configuration
Field
Type
Description
Can we help?
Last updated