Giter Club home page Giter Club logo

Comments (2)

ghidinelli avatar ghidinelli commented on June 13, 2024

Pending is designed to indicate that the transaction has been sent to the gateway but the gateway has not responded yet so it wouldn't be a good fit here since the gateway did respond.

However, it would be useful for you to capture transactions with a response of 126 in your database with a different semantic for "pending". When I processed ACH, I did a similar thing, which was the gateway would say "we charged them", but we knew with ACH processing it would be a few days until you could confirm the bank transfer so locally we had an "in-progress" status in our database that we would review.

Does that seem to match with what you want to capture here?

from cfpayment.

Mark-Hetherington avatar Mark-Hetherington commented on June 13, 2024

Yes, that sounds very similar to this situation, and capturing some kind of "Transaction pending" response (as opposed to "server response pending") status would be useful.

From what I understand of the Payflow workflow, the transaction is created on the server side, and will be approved (or declined) at a later point in time. This means it would be unwise to re-issue the transaction, but you also don't want the merchant to ship the goods until you know it won't be declined. I seem to have triggered the fraud review response with a default setup of a test account, however I'm not sure if this is as likely to occur with a production gateway.

The level of detail in response code appears to exist in the payflow plugin, but the status is replaced by either "getStatusSuccess()" or "getStatusDeclined()" before being handed back to the calling code. I can understand that it is useful to standardise on return values so the calling code can know what to expect. Looking at it a bit more, this might be accessible via response.getParsedResult() - perhaps the calling code needs to confirm the nature of the decline from the ParsedResult.

from cfpayment.

Related Issues (19)

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.