danielchristianschroeter / simple-bootstrap-stripe-payment-form Goto Github PK
View Code? Open in Web Editor NEWSimple Stripe payment form in Bootstrap, field validation and user friendly country selection (from bootstrap formhelper)
Simple Stripe payment form in Bootstrap, field validation and user friendly country selection (from bootstrap formhelper)
I just want to remember you that a card's expiry date is the last day of the displayed month. So, a card that expires in 11/16 (November 2016) is still valid until Nov, 30, inclusive.
I corrected
if (year > currentYear || (year == currentYear && value > currentMonth)) {
with
if (year > currentYear || (year == currentYear && value >= currentMonth)) {
Please include a live example or at least screenshot so I can see what I am getting into before investing time with this project (and deciding to use Stripe).
Is there an easy way to make it a subscription? I need monthly billing for these customers and ive tried to change the array to
Stripe_Plan::create(array("amount" => 35,
"interval" => "month",
"name" => "Standard",
"currency" => "usd",
"id" => "Standard",
"card" => $_POST['stripeToken'],
but get an error. Thanks in advance this is an awesome form
It should be nice if we have a demo page to decide to use it.
I get an error saying it's in test mode and using a live card (When it's in test mode and using a test #)
And I get an error saying it's in live mode and using a test card (When it's in live mode and using a live #)
I can't get it to process test or live payments.
Hi, I have tried this payment form and I have received an error:
Error! Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at https://stripe.com/blog/upgrading-tls.
How to overcome it ?
https://github.com/myg0v/Simple-Bootstrap-Stripe-Payment-Form
I need to able to have monthly and single payments
control in admin area
When a form is submitted and the card is declined only the top half of the form is show with no declined error on post.
Seems to be this line:
catch (Exception $e) { $error = '<div class="alert alert-danger"> <strong>Error!</strong> '.$e->getMessage().' </div>'; }
Hi,
I changed my keys in index.php but when I submit the form, I only have "Secure Payment Form" on the page.
Thanks.
MM
during payment submit handler function giving error $this.input.fields[g] error.please solve this error.
I always get The Stripe Token was not generated correctly when using the form. It happens every time. I have changed many things in an attempt to get it to work including starting over and not changing anything but my apikeys. It always happens though.
Picture:
http://prntscr.com/duh2bx
There are 3 missing </div>
closing tags in the index.php file.
2 before the </form>
close, and 1 in the <!-- important notice -->
block
great form, I'm using it inside bootstrap 4 modal and I'm getting the following:
TypeError:
any ideas how to resolve or perhaps suggest an alternative validation?
Hi!
The script is great and works very well, so first of all thank you very much.
Unfortunately I need also to accept variable payment amounts.
So is there an easy way to change the script to accept a custom payment amount?
Best regards,
Christopher
The form's field for card-expiry-year
with JavaScript is working but I thought maybe you want to replace it with PHP. I didn't want to make a pull request.
<select name="select2" data-stripe="exp-year" class="card-expiry-year stripe-sensitive required form-control">
<?php for ($i = 0; $i < 12; $i++): ?>
<option value="<?= $i + date('Y'); ?>" <?= $i === 0 ? 'selected' : '' ?>><?= $i + date('Y'); ?></option>
<?php endfor; ?>
</select>
How can I use only "Payment Intents API" (which Strong Customer Authentication-ready) instead of strange mix (as messaged Stripe support!) "33.33% Payment Intents API" and "66.67% of Charges API" (which not SCA-ready)?
PS. lib is used on wordpress site with custom php code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.