GithubHelp home page GithubHelp logo

cybersource-flex-samples-php's People

Contributors

brianmc avatar bryancar avatar gnongsie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cybersource-flex-samples-php's Issues

Authorization through the Payment token or Tokenize card

Hello,

I just wanted to know how can I do the Payment(Authorization) through the customer Payment profile?.
Also, how can I get the Payment profile token.

It's good to have some example with full flow. With Card Information (already in built) and with Payment profile (token).

Thanks

Capture Context fails if masking enabled

\CyberSource\Api\KeyGenerationApi::generatePublicKey() will fail if masking is enabled.

The code fails in cybersource/rest-client-php/lib/Api/KeyGenerationApi.php, line 172 because $httpBody is an array and \CyberSource\Utilities\Helpers\DataMasker::maskData expects to be passed a JSON string. Something gets lost along the way if you call generatePublicKey() with a bare array.

Update the samples to the latest version of the REST client?

We were using this samples project while integrating the API into Drupal Commerce, but we realized that the version it uses of the REST client is outdated. Certain code changes in the client made it harder to follow along in this code. My suggestion here is just to maybe give this code a review to update it to the latest version. Thanks for the samples!

Invalid merchant ID

Hi There,

We integrated payment gateway using this github coding - https://github.com/CyberSource/cybersource-flex-samples-php/tree/master and tested transaction using our sandbox account.

But our transaction responded with error message - https://prnt.sc/GS-Z97MvXC3o to know more details about error message. We logged into NAB gateway test portal and checked. Seems merchant id is invalid as per screenshot - https://prnt.sc/zAL82mDpoT2B

We used exact merchant ID in 'ExternalConfiguration.php' file. Can you please guide us to debug this issue and make the transaction success.

Please let us know if you need any more details

Thanks in Advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.