Skip to content

Fix: make charge request params optional

Compare
Choose a tag to compare
@ErvanAdetya ErvanAdetya released this 10 Aug 09:11
· 141 commits to master since this release
2bc377e

Currently, some params for credit card charge are optional. Sending an empty string will throw 400 error.

Fixed by omitting empty fields when they are null or empty string.

image