Comments (2)
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.
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)
- invalid ammount HOT 18
- Method chaining is a bit confusing for a proof-of-concept HOT 3
- Stripe marketplace currency CAD is hardcoded in marketplaceCreateBankAccount()
- Make Stripe marketplace methods more idiomatic HOT 1
- Stripe: Element CARD.COUNTRY is undefined in RESULTS HOT 1
- Update stripe to latest 2015-04-07 api version HOT 1
- Stripe addCreateManagedAccountData() has hardcoded account data HOT 1
- stripe.cfc - getToken function name causes CF error HOT 4
- Improve Stripe object-specific parsing in process() HOT 1
- Braintree gateway can fail when the avs/cvv code is an empty string
- Stripe "address_city" missing. HOT 2
- the trustAnchors parameter must be non-empty HOT 4
- Stripe CVVS is optional, but shouldn't be passed if not being used (or it will fail) HOT 1
- New Authorize.net API HOT 14
- Hardcoded path to gateway subdirectory makes extending gateways impossible
- Stripe upgrades HOT 1
- The parameter payload to function getGatewayURL is required but was not passed in. HOT 2
- Add Stripe Marketplace functionality
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfpayment.