AirPay.launch(‘QaM5j2FHF29te3N8’, {
order: {
amount: 500,
currency: ‘usd’,
name: ‘Paper Plates’,
description: ‘Stack of paper plates’,
images: [‘https://example.com/paper-plates.jpg’],
quantity: 1,
},
redirect_urls: {
success: ‘https://mysite.co/success’,
failure: ‘https://mysite.co/failure’
}
})