You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I think, it would be nice to be able to do it with an optional config like this
this.snapApi.createTransaction({transaction_details: {gross_amount: transaction.amount,order_id: transaction.id,},enabled_payments: ['gopay'],overrideNotification: 'https://somenotificatipon.com/webhookhandler/'// would be much nicer})
In the Midtrans documentation, it is shown that we can override the webhook url via headers, How can I achieve the same result using this library ?
https://docs.midtrans.com/docs/https-notification-webhooks#customizing-notification-url-via-api
The text was updated successfully, but these errors were encountered: