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 believe the response variable, mapped to enrolled by the GpApiMapping class, will be a string of either ENROLLED, NOT_ENROLLED, NOT_ENROLLED_ATTEMPT or UNABLE_TO_VERIFY
Maybe it should be rewritten to use the GlobalPayments\Api\Entities\Enums\Secure3dStatus values. Such as: if ($secureEcom->enrolled === Secure3dStatus::ENROLLED) {
In the 3DS example the code suggests that the "enrolled" property will be a boolean
php-sdk/examples/3DS2-Challenge/charge.php
Line 72 in a150c33
But I believe the response variable, mapped to enrolled by the GpApiMapping class, will be a string of either ENROLLED, NOT_ENROLLED, NOT_ENROLLED_ATTEMPT or UNABLE_TO_VERIFY
php-sdk/src/Mapping/GpApiMapping.php
Line 497 in a150c33
Which means line 72 in the example will always equal false.
Response values for enrolled_status are being sourced from the docs here https://developer.globalpay.com/api/authentications#/Check%20Availability/check3DSAvailability
The text was updated successfully, but these errors were encountered: