Recipe
How it works
- Listen for the
primer:readyevent to access the Primer SDK instance - Set the
onPaymentSuccesscallback - Access
paymentdetails andpaymentMethodTypefrom the callback parameters - Display your custom UI (modal, toast, inline message, etc.)