PHP
PHP copied to clipboard
Undefined key $meta from Card charge response
When I tried to charge with a test card with pin, it returns undefined key $meta. My request is following: { "customerId":"[email protected]", "currency":"RWF", "amount": 12, "fullName":"Test user", "email":"[email protected]", "cardNumber":"5061460166976054667", "cvv":"564", "expiryMonth":"09", "expiryYear":"31", "phone":"+15206897417", "authorization": { "mode": "pin", "pin": "3310" } } it is happened because always try handleAuthenticate from response. when I return response without handelAuthenticate, it displays charge is successful and it has no meta field in response.