diff --git a/src/hooks/useNoRampModal.ts b/src/hooks/useNoRampModal.ts index 6ef7362..6ddea4d 100644 --- a/src/hooks/useNoRampModal.ts +++ b/src/hooks/useNoRampModal.ts @@ -115,10 +115,13 @@ export const useNoRampModal = (config: NoRampConfig) => { ); paymentResponse = event; - frame.contentWindow?.postMessage({ - messageType: 'paymentMethod', - paymentMethod: event.paymentMethod.id, - }); + frame.contentWindow?.postMessage( + { + messageType: 'paymentMethod', + paymentMethod: event.paymentMethod.id, + }, + '*' + ); }); }