NVP reply would be great as a dictionary
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start in the NVP client response handling and compare it with how request values are represented. Update the response handling so the returned NVP fields can be accessed by name as a dictionary, and verify that the existing response values remain correctly separated and available.
Written by the indexing model from the issue text.
Description
Right now its just a big string. Some simple processing in the NVP client could return an array. e.g.
$reply_array = explode("\n", $reply);
foreach($reply_array as $val) {
$item_array = explode("=", $val, 2);
$reply_dictionary[$item_array[0]] = $item_array[1];
}
now you can access the reply just like the request: $reply['name']
- 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