6a. Preloading PayEngine Web-Component in SPA
How to Preload
loadPayengine({
publicKey: config.PAYENGINE_PUBLIC_KEY,
//lightweight: true // Optional
}).then((pe) => {
console.log('PayEngine initialized', pe);
});Understanding the lightweight Option
When to Use Each Mode
Mode
Use When...
Best Practices
Last updated