
mspPaySelectionWidget
MiniShop2 order payment via PaySelection payment widget.
Setup
Install the component.
Set values in system settings
ms2_msppsw_widget_public_keyandms2_msppsw_widget_site_id.Call snippet
mspPaySelectionWidgeton the page wheremsGetOrderis called (usually the cart page). After checkout, miniShop2 must redirect to this page with GET parametermsorder={order_id}.In the merchant dashboard, add a webhook with URL like:
https://your_domain/assets/components/minishop2/payment/msppayselectionwidget.phpEnable PaySelection payment method in miniShop2 settings.
Test payments with test cards.
On production, disable test mode in system setting
ms2_msppsw_test_modeand in the merchant dashboard (via their support).
