Forums / Addon Payment Modules / Stripe.com payment integration module

Stripe.com payment integration module

Views: 234,115

Results 41 to 60 of 680
11 May 2013, 3:01 AM
#41
filmgirl avatar

filmgirl

New Zenner

Join Date:
Dec 2012
Posts:
5
Plugin Contributions:
0

Stripe.com payment integration module

Oh, one other thing. For some reason when I installed the 1.3 version, there was no longer the choice to pick the expiration year of the credit card during checkout. So the changes above were made to version 1.2.

1 Jun 2013, 7:39 PM
#42
newstoreowner avatar

newstoreowner

New Zenner

Join Date:
Dec 2007
Posts:
1
Plugin Contributions:
0

Re: Stripe.com payment integration module

I just installed the module and see this problem with the year. So what is the best solution? Going back to 1.2 would mean missing out on improvements since then. If the bug is known, in which file is it so I can go and edit.

Thanks.

2 Jun 2013, 7:41 AM
#43
sakwoya avatar

sakwoya

New Zenner

Join Date:
Jan 2004
Posts:
26
Plugin Contributions:
2

Re: Stripe.com payment integration module

Hi all

I've just uploaded a 1.3.1. that fixes the commenting error that was preventing the dropdown from displaying the correct choices for expiry date.

It also includes the floor() change to the order total suggested by filmgirl.

Any problems add a reply here and I'll get my 'toit' (as in a 'roundtoit') on the case.

p.s. it will take a couple of hours for 1.3.1 to appear in the downloads section so attachedAttachment #12603 is a zip of the /includes/ folder only

5 Jun 2013, 7:37 PM
#44
mikehansenme avatar

mikehansenme

New Zenner

Join Date:
Jun 2013
Location:
Draper Utah
Posts:
1
Plugin Contributions:
0

Re: Stripe.com payment integration module

Ran into a problem with this module "Invalid Integer" I was able to track this down to the sales tax making the value being passed to stripe a decimal 1061.4375 ($9.99 plus 6.25% tax or $10.61). I was able to correct this in the module by adding round to amount lines in stripepay.php like this

"amount" => round(($order->info['total']) * 100)
multiple lines look like this

However I think this could probly be fixed in zencart core to round tax amounts before adding to totals creating prices with more than 2 decimal places. I think this problem only showed itself because Stripe requires cents(price * 100) only to be passed.

12 Jun 2013, 7:54 PM
#45
keystonewebworks avatar

keystonewebworks

Zen Follower

Join Date:
Oct 2005
Posts:
172
Plugin Contributions:
0

Re: Stripe.com payment integration module

Attachment 12647Attachment 126471 Issue:

  1. I cant view my orders in the admin area after installing 1.3.1

I can only view the top part of any order.

im using zencart 1.3.9h

any help here?

Thanks,
KWW

12 Jun 2013, 8:43 PM
#46
sakwoya avatar

sakwoya

New Zenner

Join Date:
Jan 2004
Posts:
26
Plugin Contributions:
2

Re: Stripe.com payment integration module

Hi

Yup - my bad - it's the <noscript> tags that were added in for non javascript users in the front end - the module is adding them into the order table as part of the title but, as the field insn't long enough the </noscript> is missing so, effectively everything on the page is hidden after that.

I'll upload a new package but, in the meantime I've attached a revised includes/modules/stripepay.php that has no <noscript> so the problem will go away.

For existing stores and you are happy to use phpmyadmin then run this query to fix missing orders:

UPDATE orders SET payment_method = 'Stripe secure payments' WHERE payment_module_code = 'stripepay'

(if you have a DB_PREFIX add that in before orders)

12 Jun 2013, 8:54 PM
#47
sakwoya avatar

sakwoya

New Zenner

Join Date:
Jan 2004
Posts:
26
Plugin Contributions:
2

Re: Stripe.com payment integration module

Ok - new package on the upload queue

Here's a fix for non phpMyadmin type folks

Save this code as a filename that you can remember and upload it to your store admin folder.

Login to your admin area and then type the url for the file into the address bar - you should get redirected to the orders page with a 'success' message

===========================================================================

<?php /** * @package stripepay fix * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * */ require('includes/application_top.php'); $db->Execute("update " . TABLE_ORDERS . " SET payment_method = 'Stripe secure payments.' WHERE payment_module_code = 'stripepay' " ); $messageStack->add_session('Stripe payments fix completed', 'success'); zen_redirect(zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action')) . 'action=edit', 'NONSSL')); ?>
13 Jun 2013, 11:58 AM
#48
keystonewebworks avatar

keystonewebworks

Zen Follower

Join Date:
Oct 2005
Posts:
172
Plugin Contributions:
0

Re: Stripe.com payment integration module

worked thanks!

Thanks,
KWW

17 Jun 2013, 12:21 AM
#49
ak6000 avatar

ak6000

Zen Follower

Join Date:
Apr 2010
Posts:
102
Plugin Contributions:
0

Re: Stripe.com payment integration module

Hi, great plugin and I love the Stripe offering:smile:

I am running Zen-cart version 1.5.1. I have installed the plugin and configured it to best of my ability. I have also created an account with Stripe and I am able to process the orders using their test credit card number ending in 4242.

I started by creating an order, asking the cart to save my CC number and processed the first order. While still logged in, I created another order and this time rather than inputting my cc number I selected the option that says "use my save CC ending in 4242". However, when I click confirm order I get "You must supply either a card or a customer id" error!

I checked my Stripe account and my test customer has a customer ID (cus_21tq8...) but I am still getting the error.

What am I doing wrong?

17 Jun 2013, 1:11 AM
#50
ak6000 avatar

ak6000

Zen Follower

Join Date:
Apr 2010
Posts:
102
Plugin Contributions:
0

Re: Stripe.com payment integration module

sakwoya:

Hi Pablo

The Stripe module kind of reinvented the wheel a little in that the payment data fields were shifted to the confirmation page (that's where we placed them in the osC version so when it was ported over there they remained - I have been asked to shift them to the confirmation page but I've not had the time to do so yet)..... so we have to do a little fudging.

OK - so the FEC you are using works by grabbing all the order info and displaying it on one page (https://www.yourdomain.com/index.php?main_page=checkout&fecaction=null) - when you click 'confirm order' on that page it sends you to https://www.yourdomain.com/index.php?main_page=fec_confirmation&fecaction=process and automatically submits the form on that page . It does this by simply hiding all the stuff that is normally visible in the final checkout page on a standard ZC store and javascripting a form submission.

So we have to stop the submission and display the checkout_confirmation form fields - this has been done by modifying the inlcudes/modules/payment/stripepay.php file which is in the attached zip file. It has been edited to make a jQuery alteration to the hiddenFields css so that they display. Also further edited to handle the form name which is different from a standard ZenCart. Finally edited a little bit more to pass any Stripe errors back to the checkout page

Also in the zip there is a template file tpl_fec_confirmation_default.php that is in the classic template folder - you'll need to shift that to whatever template folder you are using. This has been edited so that if Stripe is the chosen payment method then it will (1) display any errors from Stripe (2) remove the 'Your order is being processed' line.

I've only worked with the default FEC and it looks like there are a load of bells and whistles in there so if you find that this does not work for you get back to me.

Graeme

p.s. anybody else using FEC grab the zip and deploy it as described above - I don't intend adding these changes to the stock download

p.p.s if you edit the includes/modules/stripepay.php file as above to work with FEC and then turn off FEC it will no longer work with the default ZC setup so you'll have to upload the original stripepay.php file

First of all, sorry for back to back posts, I really like this plugin and hopping to get it to work.

I am running version 1.5.1 and FEC version 1.11.0. I have installed the plugin and the patch you have provided to fix the reload reported by Pablo.

Based on your recommendation and since I have installed Abbington Mega template, I copied the tpl file to my Abbington folder, but after inputting the info and pressing Confirm the page start loading over and over.

Any help will be greatly appreciated.

4 Jul 2013, 1:25 AM
#51
tahiti_amin avatar

tahiti_amin

New Zenner

Join Date:
Jan 2012
Posts:
58
Plugin Contributions:
0

Re: Stripe.com payment integration module

Are there detailed instructions on how and where to install stripe on your server?

22 Aug 2013, 8:48 AM
#52
khiliah avatar

khiliah

New Zenner

Join Date:
Nov 2010
Location:
Queen Creek, Arizona, United States
Posts:
5
Plugin Contributions:
0

Re: Stripe.com payment integration module

I have it installed but out on the site, there's no payment option available other than paypal for the cart. I have my keys input and it's in production mode on an SSL. Just wondering if I'm missing something simple? Help! :)

23 Aug 2013, 12:27 AM
#53
alexexela avatar

alexexela

New Zenner

Join Date:
Jul 2006
Posts:
16
Plugin Contributions:
0

Re: Stripe.com payment integration module

khiliah:

I have it installed but out on the site, there's no payment option available other than paypal for the cart. I have my keys input and it's in production mode on an SSL. Just wondering if I'm missing something simple? Help! :)

Did you select a Zone in the configuration?

23 Aug 2013, 4:47 PM
#54
khiliah avatar

khiliah

New Zenner

Join Date:
Nov 2010
Location:
Queen Creek, Arizona, United States
Posts:
5
Plugin Contributions:
0

Re: Stripe.com payment integration module

Oh my gosh, I completely missed that! Thank you!!!!

15 Sep 2013, 1:46 AM
#55
hasnatrokon avatar

hasnatrokon

New Zenner

Join Date:
Sep 2013
Location:
Washington, DC
Posts:
3
Plugin Contributions:
0

Re: Stripe.com payment integration module

I installed the module on my site and it is currently running in test mode (working on ssl). However, when I try to run a dummy transaction, I get the following error:

***the 'exp_month' parameter should be an integer (instead, is undefined).


Any insight at all would be greatly appreciated!

18 Nov 2013, 6:27 AM
#56
jim_wu avatar

jim_wu

New Zenner

Join Date:
Nov 2013
Location:
US
Posts:
5
Plugin Contributions:
0

Re: Stripe.com payment integration module

Hi, would you please tell me which version of zen-cart is this module suitable for? My zen-cart version is 1.5.1
Because I have downloaded it, upload all the related files to my server and installed it in my admin interface. However it shows me this sentence:* "WARNING: An Error occurred, please refresh the page and try again"*. When I back to my admin interface, I can see it says Stripe secure payments One of your Stripe API keys is missing.

Or is there any other reason resulted in this?

18 Nov 2013, 6:03 PM
#57
pablo avatar

pablo

New Zenner

Join Date:
Jun 2011
Posts:
91
Plugin Contributions:
0

Re: Stripe.com payment integration module

jim.wu:

Hi, would you please tell me which version of zen-cart is this module suitable for? My zen-cart version is 1.5.1
Because I have downloaded it, upload all the related files to my server and installed it in my admin interface. However it shows me this sentence:* "WARNING: An Error occurred, please refresh the page and try again"*. When I back to my admin interface, I can see it says Stripe secure payments One of your Stripe API keys is missing.

Or is there any other reason resulted in this?

Works fine in v1.5.1 - You have either entered a wrong or skipped one of your test keys or one of your publishable key.

22 Nov 2013, 10:58 PM
#58
snowboardmommy avatar

snowboardmommy

New Zenner

Join Date:
Nov 2013
Location:
Oregon
Posts:
1
Plugin Contributions:
0

Re: Stripe.com payment integration module

Hi Graeme,

Thanks for the ZenCart / Stripe payment module. I found it easy to set up and it seems to be working great.

If it's at all possible, I'd really like the credit card form to not look as ragged. It would be nice to have a fixed width for the form labels and the credit card form fields to line up on the left. A sense of order is actually very reassuring to customers that they are making a secure transaction. In my template (Zen Classic), it comes out looking very haphazard.

The span tags surrounding the labels seem to be using a class called "card_hide" which I cannot find defined in any style sheet in the stripe module or zen cart. I searched my entire Zen file set and the "card_hide" seems to be used only in the stripepay.php payment module file and is not defined anywhere. Perhaps shoring this up will help the labels and form fields look more organized?

I edited these tags to have a style of "display: inline-block; width: 150px;" and that seems to have worked. Although, I really prefer to not make changes to files that aren't really mine to change!!

The wording in the admin panel for "Allow customers option not to save their card details?" is a bit of a confusing double negative, since you choose "False" to turn that feature off. I don't want the option shown, they don't want to save their info. I finally figured it out, but it took me a while to figure out the combination of true/false and checked/unchecked that I needed. I'm only mentioning this because storing or not storing cc info is such a sensitive topic these days, and I think the wording here is making a powerful feature of your module confusing. "Show option to save card details? T/F" and "If above is true, should box be checked or unchecked? Checked/Unchecked" would be my suggestion to help clear that up (but you can obviously ignore this entirely or choose your own wording!)).

Thanks!

~Bonnie

3 Jan 2014, 9:01 PM
#59
malaperth avatar

malaperth

New Zenner

Join Date:
Dec 2013
Location:
Maine
Posts:
77
Plugin Contributions:
0

Re: Stripe.com payment integration module

I am running Zen Cart 1.5.1 and the Stripe plugin v1.3.2. While testing, I tested some of the credit card numbers designed to fail in certain ways. When the credit card fails, the customer is simply returned to the Payment Information page in checkout. Is there supposed to be a page that shows the customer that their credit card was declined and why? Am I missing something?

Mal

17 Mar 2014, 6:16 PM
#60
odessey1 avatar

odessey1

New Zenner

Join Date:
Mar 2008
Posts:
33
Plugin Contributions:
0

Re: Stripe.com payment integration module

hasnatrokon:

I installed the module on my site and it is currently running in test mode (working on ssl). However, when I try to run a dummy transaction, I get the following error:

***the 'exp_month' parameter should be an integer (instead, is undefined).


Any insight at all would be greatly appreciated!

Im getting the same error, anybody have any info on this?