Creating Payment Request Using 3.0.0 SDK
Creating Payment Request Using 3.0.0 SDK
What was going on
Issue xendit/xendit-php#209 (closed, 7 comments): Hello I tried creating Payment Request using the new sdk. i am using the example code from the docs and the output is this. ``` Xendit\PaymentRequest\Error Object( [openAPINullablesSetToNull:protected] => Array ( [0] => error_code [1] => message ) [container:protected] => Array ( [error_code] => [message] => )) ``` is this normal? because i can see my post request on the xendit dashboard log api page.
The fix
[adityarx (contributor)]: The createPaymentRequest failure was because the SDK expected a 200 status but Xendit returns 201. Fixed in v3.1.0; the reporter confirmed it works after upgrading. Note: Over-The-Counter payment channels in test mode need manual activation via Xendit support.