checkout / checkout-php-library

Checkout.com API PHP Library
MIT License
24 stars 29 forks source link

Charge Response object is missing Redirect Url #79

Closed matt-usurp closed 7 years ago

matt-usurp commented 7 years ago

https://github.com/checkout/checkout-php-library/blob/master/com/checkout/ApiServices/Charges/ResponseModels/Charge.php

When 3D Secure is enabled the redirect url is returned in the response json but there is no getter that can access this information from the charge object itself.

nicolas-maalouf-cko commented 7 years ago

@matt-usurp This has been added in the latest release (v1.2.7)

You can also get the responseType in Charge responses which allows you to know whether it's a 3dCharge, attemptN3dCharge, or normal response.

matt-usurp commented 7 years ago

Thanks!