var key = ""; // your vella API test/live key
const config = {
email: 'example@mail.com', // string - customer email
name: "Tade Ogidan", // string - customer name
amount: 100.00, //float - amount to pay
currency: "NGN", // supported fiat NGN,
merchant_id: "", // string - merchant id
reference: "", // string - your transaction reference
custom_meta: {}, // custom meta data,
source: '', // domain or location name e.g checkoutpage
};
const vellaSDK = VellaCheckoutSDK.init(key, config);
vellaSDK.onSuccess(response => {
console.log("data", response)
})
vellaSDK.onError(error => {
console.log("error", error)
});
vellaSDK.onClose(() => {
console.log("widget closed")
});
Let's play XO (Tic-Tac-Toe) game... if you win then you must sign up deal? 🤝
This website uses cookies to ensure you get the best experience. By continuing to use this site, you agree to our Privacy Policy.