Jump to content

Free Stripe Payment Gateway with Stripe.js support


jclarke

Recommended Posts

  • Replies 287
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

Version 2.0.4. is now available.

 

* Fixed an issue with the web20cart & comparison cart templates not working correctly

* Additional error checking has been added to check if the Stripe customer has been deleted, if it has been a new customer is created when a new card is added/updated.

 

The download is available from our client area if you are upgrading from another 2.x release you can upgrade by following the instructions below:

 

Upload stripe.php to modules/gateways

Upload stripe-php/stripesave.php to modules/gateways/stripe-php

Upload hooks/stripe.php to includes/hooks

Link to comment
Share on other sites

I keep getting these errors:

 

exception 'Stripe_CardError' with message 'The 'exp_month' parameter should be an integer (instead, is false).' in /httpdocs/hosting/modules/gateways/stripe-php/lib/Stripe/ApiRequestor.php:92

Stack trace:

#0 /httpdocs/hosting/modules/gateways/stripe-php/lib/Stripe/ApiRequestor.php(136): Stripe_ApiRequestor->handleApiError('{? "error": {?...', 402, Array)

#1 /httpdocs/hosting/modules/gateways/stripe-php/lib/Stripe/ApiRequestor.php(74): Stripe_ApiRequestor->_interpretResponse('{? "error": {?...', 402)

#2 /httpdocs/hosting/modules/gateways/stripe-php/lib/Stripe/ApiResource.php(76): Stripe_ApiRequestor->request('post', '/v1/customers', Array)

#3 /httpdocs/hosting/modules/gateways/stripe-php/lib/Stripe/Customer.php(26): Stripe_ApiResource::_scopedCreate('Stripe_Customer', Array, NULL)

#4 /httpdocs/hosting/modules/gateways/stripe.php(254): Stripe_Customer::create(Array)

#5 /httpdocs/hosting/includes/ccfunctions.php(0): stripe_storeremote(Array)

#6 /httpdocs/hosting/creditcard.php(0): updateCCDetails()

#7 {main}

Edited by aandcmedia
Link to comment
Share on other sites

  • 2 weeks later...

Thank you very much for this module. Got it installed and working well.

 

I only had one issue - when using the 'Cart' order form it took a very long time (as in minutes) for the client to see a 'Payment Confirmed' message, it looked like it was hanging but eventually the confirmation appeared. Error messages were instant.

 

I swapped over to web20cart and everything is working as expected.

 

Thanks once again and I hope this feedback is useful.

Link to comment
Share on other sites

  • 2 weeks later...

The security update released by WHMCS today removes a function the stripe order form templates were using which will cause the credit card input box to not appear.

 

We have released a new version 2.0.8, which removes the use of the eval function to render the credit card forms and includes several other minor fixes.

 

Upgrading from 2.0.6.

-Upload hooks/stripe.php to includes/hooks

-Upload the stripe-php folder to modules/gateways/ overwriting any existing files in the stripe-php folder.

-Upload the orderforms/ccforms folder to templates/orderforms

-For each order form that you use, replace the viewcart.tpl file with the one provided in the orderforms folder.

 

If you are upgrading from a version prior to 2.0.6, please follow the README for full install instructions.

 

You may download the latest version from our client portal at https://www.serverping.net/clients.

After logging in click on Services->My Services, then View Details next to Stripe WHMCS Payment Gateway, and then click the Downloads tab.

 

If you are using this module in production, please consider supporting the development by purchasing a commercial support plan for just $15/year.

Please do not contact us regarding this module unless you have purchased the support plan.

To purchase commercial support, login to our client area using the following link:

https://www.serverping.net/clients/cart.php?gid=addons

Link to comment
Share on other sites

Just an FYI to anyone using this, mbstring needs to be enabled on your server. Cards were coming back as declined and when I tried to save a card I got an error about it (when PHP errors are enabled in WHMCS) specific to stripesave.php needing mbstring encoding. Working perfectly now!

Link to comment
Share on other sites

Just an FYI to anyone using this, mbstring needs to be enabled on your server. Cards were coming back as declined and when I tried to save a card I got an error about it (when PHP errors are enabled in WHMCS) specific to stripesave.php needing mbstring encoding. Working perfectly now!

 

This requirement is also stated at the top of the README file included with the download.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Is anyone else having trouble getting stripe gateway 2.0.9 to work with WHMCS 5.2.7 with the ajax cart? I can get Stripe 2.0.9 to work fine with WHMCS 5.2.4, and stripe 2.0.8 worked fine with 5.2.7. Stripe 2.0.9 and WHMCS 5.2.7 are fine together with any other cart. Just wondering if it's just me!

Link to comment
Share on other sites

  • 1 month later...

I am using whmcs 5.1.XX , and new Stripe 2.1.1

and on "cart.php" - I get error

-------------

Fatal error: Call to undefined method WHMCSCore::get_lang() in /home/login/public_html/includes/hooks/stripe.php on line 146

-------------

 

Is new Stripe 2.1.1 not work with old whmcs 5.1.XX ?

 

thanks.

Link to comment
Share on other sites

For anyone thinking of switching from zStripe. If you don't save the credit card info locally the transition should be painless. The tokens apparently match when you switch and recurring payments will continue working.

 

This was a big worry for us when making the switch so for anyone else in the same boat, no worries. Recurring payments will continue to work if you don't save credit card info locally.

Edited by mustardman
Link to comment
Share on other sites

Would like to see an option on the credit card input form to not save the credit card number after the payment is made (so a 1 time transaction) like zStripe has. I am aware that WHMCS has the option to delete the credit card info elsewhere in the client area if that feature is enabled. It makes sense to put something like that on the credit card input form to be selected at the same time the credit card info in entered imho.

 

Also, the module does not provide as much transaction information in the gateway log as zStripe unless there is an error. Just Invoice ID, User ID, and Amount. zStripe provides a lot more information. Error information for unsuccessful transactions are more raw php error type information on the Stripe module.

 

So there is room for refinement and improvement but it does seem to do what it is supposed to do.

Edited by mustardman
Link to comment
Share on other sites

  • 1 month later...

So far the module works great, with one exception, and I'm not sure if this is a server configuration, or if Stripe is slow, but when processing a payment from a customer, it takes somewhere around 1.5-1.75 minutes, from the moment you hit complete order - to the success page.

 

Anyone seen anything like that?

Link to comment
Share on other sites

Hi,

 

I have this module working perfectly and I've processed payments for around a month now, however I have just noticed the following in my Stripe dashboard (note that I do not process any payments from anywhere other than WHMS, and only through this module)

 

Usage mismatch

Although you indicated otherwise, it looks like you've been sending untokenized credit cards to our API. If you've recently changed your Stripe usage, there's no need to do anything — we'll automatically update your status once we see your usage patterns change. If you made a mistake, just update your answers above.

 

Any idea why I'm seeing this?

Link to comment
Share on other sites

  • 2 weeks later...
Are there any way to remove the Issue Number or have an option to active or disable it. not all credit card have issue number.

 

If you are seeing an option to enter an issue number than you didn't install our Stripe gateway module correctly as our templates have the issue number removed. I would recommend checking the README and going over the install instructions again.

Link to comment
Share on other sites

  • 3 weeks later...

I am considering making the jump to Stripe, a lot of issues with my current processor, and well honestly the price is better (no monthly fee) - My one question which I may be missing somewhere, is if I have current customer card #'s are they going to have to re-enter? or will they simply be submitted securely to stripe and handled with the token there after? or will each customer need to re-enter?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated