CyberSource / CyberSource/cybersource-rest-samples-ruby
The following property is either invalid or missing: streamline2_usd_terminal_id
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 1
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
As soon as I change the merchantId, merchantKeyId, and merchantSecretKey in configuration transactions appear with the following error.
Running Samples/Payments/CoreServices/ProcessPayment.rb
{:code=>400, :response_headers=>{"Content-Type"=>"application/json", "Content-Length"=>"170", "X-Cnection"=>"close", "x-response-time"=>"290ms", "Strict-Transport-Security"=>"max-age=31536000", "v-c-correlation-id"=>"7079ce85-d3b1-423e-974e-79abacdde8f9"}, :response_body=>"{\"submitTimeUtc\":\"2019-10-09T17:27:37Z\",\"status\":\"INVALID_REQUEST\",\"reason\":\"INVALID_DATA\",\"message\":\"Declined - One or more fields in the request contains invalid data\"}"}
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with Samples/Payments/CoreServices/ProcessPayment.rb and inspect how merchantId, merchantKeyId, and merchantSecretKey are loaded into the transaction configuration. Reproduce the reported request error with valid credentials and compare the generated request with the API requirements. Done means the sample payment runs without the streamline2_usd_terminal_id invalid-or-missing error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api, payments
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100