Comments (1)
Still waiting to confirm if this is available in non-sandbox, but it seems we can implement this like the following:
- Initiate payment as we do today, but set verification to
three_d_secure
(and the success/failure URLs accordingly). - Wait for status for the payment. If the status appears like the below example, then redirect from the checkout page to the 3D Secure page. Upon return, proceed with status checks and then continue with regular flow.
{
data: {
id: '<Redacted UUID>',
type: 'payment',
merchantId: '<Redacted UUID>',
merchantWalletId: '<Redacted ID>',
source: { id: '<Redacted UUID>', type: 'card' },
description: 'Payment Test',
amount: { amount: '5.66', currency: 'USD' },
status: 'action_required',
requiredAction: {
type: 'three_d_secure_required',
redirectUrl: 'https://web-sandbox.circle.com/v1/3ds/session/<Redacted UUID>'
},
refunds: [],
createDate: '2021-11-30T18:07:28.852Z',
updateDate: '2021-11-30T18:07:29.301067Z',
metadata: { email: '<Redacted Email Address>' }
}
}
If we encounter a failure in the 3D Secure flow (meaning we end up on the failure URL), then display a similar payment error message as we do today.
All of this also, probably, means we don't have to worry about which country the payment is originating from, Circle will direct us into the right flow as needed. Still waiting for confirmation on this part too.
from algomart.
Related Issues (20)
- Look into improving logs for GCP
- Currency conversions
- Language translations
- Locale split from language
- Separate app
- Cache tables
- Lib in root
- Images on Google Cloud storage buckets
- Head changes + Font optimization
- Next Image tags + Priority
- Seed scripts for deployments
- Import improvements from other AlgoMart instances
- Refactor creator account usage
- How to Donate/Sponsor the project? HOT 1
- Unhandled Runtime Error HOT 3
- Minting while not having enough funds does not trigger a UI error
- Misconfigured packs may not provide an error while being generated
- Directus CMS initialization | Bootstrap phase sets incorrect email address HOT 1
- Unexpected Error
- Race condition in auction contract
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 algomart.