I'm making credit card payments via stripe, using the provider, payments are working; however I can still make payments without supplying a CVC number which is incorrect - payments without the CVC should be blocked.
when looking at the logs, i can see the cvc is passed in as ""
Are you in test or live mode on Stripe? What happens if you use a card that is supposed to fail CVC checks, e.g. 4000 0000 0000 0101. See here for more: https://stripe.com/docs/testing#international-cards
Have you done any changes to your Stripe view? This is the one that comes standard with Tea Commerce. But its just a starting template to use as reference. This template use Stripe v2. So maybe Stripe should be upgraded or you have looked at documentation that is not for Stripe v2.
1) We are using v3.2.4 for Umbraco
2) Screenshots for stripe integration for credit card. As most of the features are baked in your code so we have not done much on it.
Maybe check your JS if the $form object has the right values and that the form that is being submitted in line 72 of the StripePaymentForm.cshtml has the right values. All that is JavaScript. You can also maybe change the JS into making the token by your self instead of the createToken using the form object.
CVC Not validating
Hi
I'm making credit card payments via stripe, using the provider, payments are working; however I can still make payments without supplying a CVC number which is incorrect - payments without the CVC should be blocked.
when looking at the logs, i can see the cvc is passed in as ""
please advise
thanks
Are you in test or live mode on Stripe? What happens if you use a card that is supposed to fail CVC checks, e.g. 4000 0000 0000 0101. See here for more: https://stripe.com/docs/testing#international-cards
Theoretically you might also have rules enabled/disabled in the Stripe dashboard:
hi
its in Live mode, using a real card
rules are set up in the stripe dash
it seems to be the issue that the CVC isnt being sent, see the post body ^^^
thanks
Below is the HTML snippet that is making call to stripe and it includes cvc. Please advice.
Bump for feedback/advice/help please?
Hi TikTakToe
Are you using the latest version of Tea Commerce v3?
https://our.umbraco.com/packages/website-utilities/tea-commerce/
Have you done any changes to your Stripe view? This is the one that comes standard with Tea Commerce. But its just a starting template to use as reference. This template use Stripe v2. So maybe Stripe should be upgraded or you have looked at documentation that is not for Stripe v2.
https://github.com/TeaCommerce/Payment-providers/blob/master/Source/TeaCommerce.PaymentProviders.UI/Views/StripePaymentForm.cshtml
If CVC is not sent - thenmaybe some naming is wrong or Stripe changed so it should be named in another way.
Kind regards
Anders
1) We are using v3.2.4 for Umbraco 2) Screenshots for stripe integration for credit card. As most of the features are baked in your code so we have not done much on it.
Any further suggestions?
Also StripePaymentForm.cshtml is same as default view provided by TC
Maybe check your JS if the $form object has the right values and that the form that is being submitted in line 72 of the StripePaymentForm.cshtml has the right values. All that is JavaScript. You can also maybe change the JS into making the token by your self instead of the createToken using the form object.
You can read more about the Stripe API here:
https://stripe.com/docs/stripe-js/v2#card-createToken
We have never used Stripe our self and don't know 100% about their API as the Stripe provider was a contribution from the community.
Thanks - This is fixed now.
How did you fix it? Then you might help others that find the same problem at some point :)
is working on a reply...