Using Custom Payments Form
Overview
Step 1 - Obtain an OAuth access token
Step 2 - Include fatzebra.js on your page
<script type="text/javascript" src="https://cdn.pmnts-sandbox.io/sdk/v1/fatzebra.js"></script>Step 3 - Initialise the GreenPay Gateway SDK
// Initialize the FatZebra object in the footer of your page
<script>
const fz = new FatZebra({
username: "<YOUR MERCHANT USERNAME>"
});
...
</script>Step 4 - Subscribe to fatzebra.js events
Step 5 - Perform 3DS2 checks on the card
Step 6 - Frictionless or challenge flow presented to customer
Step 7 - Obtain 3DS check result
Step 8 - Make a purchase using 3DS result data
Last updated