Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
Theoretically you might also have rules enabled/disabled in the Stripe dashboard:
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 ^^^
Below is the HTML snippet that is making call to stripe and it includes cvc. Please advice.
<form class="stripe-form" action="@pageModel.StripeContinueUrl" method="POST" id="stripe-payment-form">
<p><img src="/assets/img/credit-card-logos.png" alt="Make your payment securely by Credit Card" /></p>
We only find out a transaction has failed on confirmation of the transation serverside, so this form gets reloaded with additional data about the error.
FailureReason.Message:Your card was declined.
@if (Request.Form["TransactionFailed"] == "true")
<input type="tel" size="20" data-stripe="number" />
<div class="form-group form-group--quarter">
<input type="tel" size="4" data-stripe="cvc" class="cvc" />
<div class="form-group form-group form-group--quarter">
<input type="tel" size="2" data-stripe="exp-month" class="exp-month" /> / <input type="tel" size="4" data-stripe="exp-year" class="exp-year" />
@* <a href="@Request.Form["cancel_url"]">< Cancel</a>
<button type="submit">Submit Payment</button>*@
Bump for feedback/advice/help please?
Are you using the latest version of Tea Commerce v3?
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.
If CVC is not sent - thenmaybe some naming is wrong or Stripe changed so it should be named in another way.
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
You can read more about the Stripe API here:
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...
Write your reply to:
Image will be uploaded when post is submitted