CyberSource / CyberSource/cybersource-rest-samples-php

Inconsistencies causing errors

Open
#38 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
31
Forks
51
Avg merge
36m
Merged PRs (30d)
1

Description

https://github.com/CyberSource/cybersource-rest-samples-php/blob/e5bc99bae85e88755cd688ba95ac2152403665f4/Resources/Configuration.php#L21

Should be changed from

 $this->screteKey = "yBJxy6LjM2TmcPGu+GaJrHtkke25fPpUX+UY6/L/1tE=";

To

$this->secretKey = "yBJxy6LjM2TmcPGu+GaJrHtkke25fPpUX+UY6/L/1tE=";

https://github.com/CyberSource/cybersource-rest-samples-php/blob/e5bc99bae85e88755cd688ba95ac2152403665f4/Resources/Configuration.php#L44

This....

$confiData = $config->setSecreteKey($this->secreteKey);

Should be

$confiData = $config->setSecretKey($this->secretKey);

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open Resources/Configuration.php at the linked lines 21 and 44 and compare the misspelled property and setter names with the intended spellings in the issue. Update both references consistently, then verify that the sample configuration uses the corrected secret-key names.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.