Skip to content
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

Does not work #4

Open
kirakik opened this issue Oct 24, 2017 · 1 comment
Open

Does not work #4

kirakik opened this issue Oct 24, 2017 · 1 comment

Comments

@kirakik
Copy link

kirakik commented Oct 24, 2017

When trying to send a request, the output xml is:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<request>
<store_id>store5</store_id>
<api_token>yesguy</api_token>
<res_temp_cc>
<type>res_temp_cc</type>
<pan>4111111111111111</pan>
<expdate>2009</expdate>
<crypt_type>5</crypt_type>
</res_temp_cc>
</request>

And the response is:

<?xml version="1.0" standalone="yes"?>
<response>
<receipt>
<ReceiptId>null</ReceiptId>
<ReferenceNum>null</ReferenceNum>
<ResponseCode>null</ResponseCode>
<ISO>null</ISO>
<AuthCode>null</AuthCode>
<TransTime>null</TransTime>
<TransDate>null</TransDate>
<TransType>null</TransType>
<Complete>false</Complete>
<Message>Cancelled: 
Error unknown element "res_temp_cc" 'api_token'
__________________
Error unfinished element 'crypt_type'
__________________
</Message>
<TransAmount>null</TransAmount>
<CardType>null</CardType>
<TransID>null</TransID>
<TimedOut>false</TimedOut>
<BankTotals>null</BankTotals>
<Ticket>null</Ticket>
</receipt>
</response>
@adambarghouthi
Copy link

Have you found a working js wrapper for moneris @kirakik ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants