-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payment with Token doesn't work #18
Comments
No encoding needs to be done on the token. Usually it should be a 32 hex-digits string. |
I can't pinpoint the problem. There might be some operational settings to be done in order to use it. |
I've just contacted them and they told me it's because CC_ parameters are sent as NULL but expected is empty string. So they should be like this:
|
and yeah it works in that way. |
Sounds familiar. I think |
Yep it works when I send only CC_CVV as an empty string. |
Thank you very much. I'll take care of the fix further. |
fixed |
Hi,
When I try this example: https://github.com/PayU/alu-client-php/blob/master/examples/tokenPayment.php
The message returns like this:
Invalid card number entered.()\nInvalid expiration date entered or the card has expired.(00-)
Am I supposed to encode the token before using it? Because the token format I get by using this example: https://github.com/PayU/alu-client-php/blob/master/examples/createTokenForRecurrentPayment.php
is different from the format of the token used in the tokenPayment.php example.
Thanks in advance.
The text was updated successfully, but these errors were encountered: