Safetypay via Widget
Prerequisites
Before implementing Safetypay payments, ensure you have:
- Enabled Safetypay in the DEUNA Admin Panel.
- A generated order token.
- Integrated the DEUNA SDK in your project.
- Reviewed the Payment Widget documentation for your platform.
Payment Method configuration
Display the Payment Widget by passing the Safetypay configuration in the paymentMethods parameter.
[
{
"paymentMethod": "voucher",
"processors": ["safeypay"]
}
]
Payment Widget - Web
DeunaSDK.initPaymentWidget({
orderToken: 'YOUR_ORDER_TOKEN',
paymentMethods: [
{
paymentMethod: 'voucher',
processors: ['safeypay'],
},
],
callbacks: { ... },
});
Updated about 9 hours ago