OurPass Inline - HTML
This is the HTML & Vanilla javascript library for implementing Ourpass checkout button on your platform. This library would help you integrate the button into your system in no time😌
Working with OurPass CDN Inline
This works well for HTML and JavaScript code bases
Basic Parameters
Options
Type
Required
Description
src
string
true
Product image
amount
string
true
Product amount
url
string
true
Merchant's website address
name
string
true
Product name
string
false
Email of OurPass user
qty
string
true
Quantity of products been bought
description
string
true
Product description
items
array
true
List of items in cart
api_key
string
true
OurPass Merchant secret key
subAccountAuthKey
string
false
OurPass Merchant sub-account authorisation key. this is for sub-account cases
onClose
function
true
Javascript function that should be called if the customer closes the payment window
onSuccess
function
true
Javascript function that should be called if the payment is successful
Installation
To use OurPass, use the CDN below and the button below
OurPass Inline (Lazy) Sample
A simple way to load OurPass
Configuration Options
Please note that the key to use with inline is the secret key
Last updated