-
Notifications
You must be signed in to change notification settings - Fork 58
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
missingField ics_applications #31
Comments
Same issue |
I ran into the same issue when implementing eCheck debits using this SDK - no sample code would work as expected.
$client = new CybsSoapClient();
$merchantId = 'MERCHANT_ID';
$refCode = 'REF-' . time();
$xmlRequest = <<<XML
<requestMessage>
<merchantID>{$merchantId}</merchantID>
<merchantReferenceCode>{$refCode}</merchantReferenceCode>
<billTo>
<firstName>First</firstName>
<lastName>Last</lastName>
<street1>Address</street1>
<city>City</city>
<state>State</state>
<postalCode>1234</postalCode>
<country>Country</country>
<phoneNumber>000-000-0000</phoneNumber>
<email>[email protected]</email>
</billTo>
<purchaseTotals>
<currency>USD</currency>
<grandTotalAmount>10</grandTotalAmount>
</purchaseTotals>
<check>
<accountNumber>111</accountNumber>
<accountType>c</accountType>
<bankTransitNumber>021000021</bankTransitNumber>
</check>
<ics_applications>ics_ecp_debit</ics_applications>
<ecDebitService run="true"/>
</requestMessage>
XML;
$reply = $client->runTransactionFromXml($xmlRequest, $refCode); This is clearly under-documented but you can find reference to the ics_applications field on this document (page 123 for instance): |
For anyone else that runs into this error: In my case, it was because PHP SoapClient was converting my
|
Hello! I'm trying use runTransactionFromXml but when but when execute return this message from desision manager:
REJECT
missingField => ics_applications
How to add field in xml string?
I run the subscription.php example and I have the same message
Thanks for your help.
The text was updated successfully, but these errors were encountered: