Midtrans / midtrans-nodejs-client

Official Midtrans Payment API Client for Node JS | https://midtrans.com
MIT License
180 stars 57 forks source link

Add option to override header request #17

Closed aquaswim closed 4 years ago

aquaswim commented 4 years ago

according to this documentation we can change notification url by adding header X-Override-Notification but with this library there is no way we can do this.

rizdaprasetya commented 4 years ago

Yes, we are planning to add that new capability to set HTTP headers soon.

rizdaprasetya commented 4 years ago

For now overriding HTTP header can be achieved via the following way: https://github.com/Midtrans/midtrans-nodejs-client#override-http-notification-url

rizdaprasetya commented 4 years ago

Sorry there were some mistake on the example, fixed now.