Comments (6)
I am not sure if there is a way to do this without actually processing the payment.
from woocommerce-gateway-stripe.
there is because when you do just do the check -> tokens you get in the Response the Type of the Card ... could be possible before that as the the Credit Card Icon changes based on the Number of the Card ...
from woocommerce-gateway-stripe.
@quasel - can you please point me to the documentation to this?
from woocommerce-gateway-stripe.
https://support.stripe.com/questions/how-can-i-see-which-type-of-card-my-customer-is-using
https://stripe.com/docs/api#token_object
it's in the response from the request to https://api.stripe.com/v1/tokens
antoher intresting point is
https://www.masteringmodernpayments.com/blog/how-to-check-cvc-and-address-with-stripe-js
because if you use a multi step checkout it's nice to be able to check cvc/zip before the charge atempt at the end of the process ....
from woocommerce-gateway-stripe.
Right, I've seen those documentations already. Now the question is for first time subscriber that needs a token, how do you go about obtaining a token without processing it first? I am looking for a way to do this without having to create the card if it isn't going to be used.
from woocommerce-gateway-stripe.
well i guess the only way is to fetch a token - because this does't lead to an authorization and dont store it :P - that's what happens in the multi step echekcout is use - token's created in my case it does even a cvc/zip check by adding an amount to create token - and all togehter is just on the last page ...
from woocommerce-gateway-stripe.
Related Issues (20)
- Refreshing in-plugin hyperlinks
- New settings page issue HOT 1
- Allow going through the oAuth flow in test mode
- Fatal when extends WC_Gateway_Stripe
- [GlobalStep] "There was an error processing the payment: There was a problem processing the payment". notice is displayed upon enabling "AliPay " APMs when the updated checkout experience is enabled. HOT 1
- [GlobalStep] PHP errors warning ("Undefined array key" and "Attempt to read property "id" on null") is displayed for "GiroPay", "EPS" and "P24" on "Order received" when Updated checkout experience is enabled. HOT 1
- [GlobalStep] "Payment methods require activation in your Stripe dashboard" notice fails to display at the top of the "Payment Methods card".
- [GlobalStep] "PHP errors in Ajax response" gets triggered when modal containing a voucher shows up for "OXXO" and "Boleto" on "WC's shortcode checkout" page. HOT 1
- Update the disconnect account message
- The mandate_options property is passed to intents for non-Indian cards HOT 1
- Unexpected date in the past for the mandate's start_date when renewing a subscription HOT 2
- [Split PE] - Purchases with Bancontact, iDEAL and Sofort set the order payment method to stripe_sepa_debit
- [Split PE] Error attempting to reuse a payment intent that requires action or confirmation HOT 1
- APM UPE tokens get duplicated in the database when UPE is disabled
- [Split PE] APM tokens added with UPE enabled can't be used with UPE disabled
- [Non-UPE] - Disabling cards disables the Stripe Gateway
- [GlobalStep] "Payment failed. Please verify your information and try again" notice is displayed on cart page.
- Activating Stripe sans WooCommerce message needs updated
- Cannot save Stripe keys on a site with HTTP only HOT 4
- Fatal error with PRBs and Subscriptions when the subscription's price or sign-up fee is a string
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 woocommerce-gateway-stripe.