4 posts / 0 new
Last post
jakegarrison9294
Issue with Voiding Payments:

Im working on trying to get void payments working. Im using the PHP library.

I added some code in the transactions.php file that spits out some details about the curl request to help be debug what im doing wrong.

The transaction_ID is ET117068
The transaction_tag is 2257072460
The amount is 12.00 in USD

This is the URL the php library is posting to: https://api-cert.payeezy.com/v1/transactions/ET117068
This is the encoded JSON being sent in post: {"transaction_tag":"2257072460","transaction_type":"void","method":"credit_card","amount":"1200","currency_code":"USD"}

All of this looks correct to me based on all the documentation and searching I could find… but I keep getting this error: "Bad Request (69) - Invalid Transaction Tag"

Any idea what i’m doing wrong?

Thanks!

-Jake


jakegarrison9294
Re: Issue with Voiding Payments:

Acctttuuualllyyyy... never mind... It's suddenly working?


christopherlord730
Re: Issue with Voiding Payments:

It appears the void request was successful before all the other attempts to void the transaction.

16:08:18,836|124.2657329843843|Transaction Response : {"correlation_id":"124.2657329843843","transaction_status":"approved","validation_status":"success","transaction_type":"purchase","transaction_id":"ET117068","transaction_tag":"2257072460","method":"token","amount":"1200","currency":"USD","cvv2":"I","token":{"token_type":"FDToken","token_data":{"type":"visa","cardholder_name":"Nelda Yaw","exp_date":"0220","value":"7660675117510000"}},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}

The unsuccessful requests were logged at

18:06:43,724
18:17:41,950
18:18:57,528
18:22:08,173
18:23:16,322
18:29:04,765
18:30:06,637
18:35:49,518
18:38:43,235
18:41:18,782


christopherlord730
Re: Issue with Voiding Payments:

We would need the correlation ID for the failed transaction to review logs. I see numerous requests associated with that transaction tag.