BluePay/BluePay-Sample-Code

No response from get_settled_transaction_report

Closed this issue · 4 comments

I'm using the Ruby Libarary v 1.0.9

I'm getting no response when using the get_settled_transaction_report method. I've successfully used the auth, capture, and sale methods. Here are the params being sent:

MODE: TEST
ORDER_ID: 1
QUERY_BY_SETTLEMENT: 1
REPORT_START_DATE: 2018-04-20 00:00:00
REPORT_END_DATE: 2018-04-26 23:59:59
QUERY_BY_HIERARCHY: 1
DO_NOT_ESCAPE: 1
EXCLUDE_ERRORS: 0
TPS_HASH_TYPE: HMAC_SHA512
RESPONSEVERSION: 5
TAMPER_PROOF_SEAL: 7f9b497e49af220da9d3e73a3ae6a558c3ac9566f8fc10c7378c7457d13780486107d29c84da25f9f4977ce399ccb492576709ba55dd9b3ebe4c47937e0a21c6
ACCOUNT_ID: XXXXXXXXXXXXXXX

I've tried all types of date/time formats but always get an empty response.
Any help would be appreciated!

Hi @jordan-realfoto, I've been conversing with Integration Support about your account. I get a proper response when I do a get_settled_transaction query using your information. Can you identify where the ORDER_ID is being set to 1? It shouldn't be set from our gem.

A good start would be to send me the whole query string being submitted to BluePay. My BP email is "emargules"

@ericmargules The order_id is set during initialization as it gets used for other requests. Even when removed I still get the same response.

@jordan-realfoto can you send me the query string being sent to BluePay? My BP email is "emargules"

I found the issue. I was looking in the @RESPONSE_HASH attribute for the data when in fact it’s returned from the process method.