XML Parsing Error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the parsing error with the XML payload in the issue, then trace the PHP SDK's SOAP request and XML parsing entry point. The issue names no file or test, so first identify where the request is parsed and determine whether the envelope or namespaces trigger the failure; done means the cause is confirmed and the behavior is corrected or clearly documented.
Written by the indexing model from the issue text.
Description
This is my XML
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:data="urn:schemas-cybersource-com:transaction-data-1.120" xmlns:tns="urn:schemas-cybersource-com:transaction-data:TransactionProcessor" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.120">
<merchantReferenceCode>Unknown</merchantReferenceCode>
<purchaseTotals>
<currency>USD</currency>
<grandTotalAmount>5.55</grandTotalAmount>
</purchaseTotals>
<billTo>
<firstName>John</firstName>
<lastName>Tester</lastName>
<street1>123 Main Street</street1>
<city>Columbia</city>
<state>Sindh</state>
<postalCode>75080</postalCode>
<country>PK</country>
<email>[email protected]</email>
<ipAddress>0.0.0.0</ipAddress>
</billTo>
<card>
<accountNumber>4111111111111111</accountNumber>
<expirationMonth>12</expirationMonth>
<expirationYear>2018</expirationYear>
<cvNumber>111</cvNumber>
</card>
</requestMessage>
</soap:Body>
</soap:Envelope>
Not sure why its throwing a Parsing Error. Is it because its wrapped in a <soap:envelope> and <soap:Body> tags
- Dominant language
- PHP
- Stars
- 60
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CyberSource/cybersource-sdk-php
-
Difficulty 1/5 Under an hour Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
CyberSource/cybersource-sdk-php#42 · 2 comments ·
-
RefundsOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in CyberSource/cybersource-sdk-php
Similar issues
-
Update the one-click "GTM4WP" Delay JS exclusion so that it also works with a custom data layer nameOpen
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
[Feature]: Remove Kanboard Discourse forum link from README.md and CONTRIBUTING.md, or moderate itOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
solana-foundation/pay-kit#341 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cline/cline#14560 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100