Jump to content
14steve14

Updated Stripe payment module

Recommended Posts

I use Stripe as a payment method on my site and notice that the payment module itself has not been updated since 2014. The module works fine as it is so there is nothing to worry about. Stripe have updated their API recently and I was wondering if oscommerce was ever going to update this module.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Good question. I would love to see an update also.

If Stripe Connect capabilities could be added to pay affiliates, that would be excellent!

Edited by discxpress

Share this post


Link to post
Share on other sites

I think in works like Braintree. I think all of these will be apps like paypal instead. Love to see ApplePay, Bitcoin added

Share this post


Link to post
Share on other sites

I assume then that there are no plans for oscommerce to update their supplied Stripe payment module to a latest version.

Hopefully @Harald Ponce de Leon. may have an answer.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

 

Well I see it hasn't been updated in awhile. Looking to see if I can do it. Weird  thing I changed the API version in oscommerce and no errors. Not sure why? Also should use v3 for Stripe.js currently it's using v2.

Hopefully, someone also would add ApplePay and Bitcoin functions as well. The whole thing probably has to be rewritten for instance the new API uses this to create customer:

@Harald Ponce de Leon any news on updating Stripe?

\Stripe\Customer::create(array(
  "description" => "Customer for olivia.smith@example.com",
  "source" => "tok_visa" // obtained with Stripe.js
));

description would be the customers email; source I think would be $token

 

Edited by tmcca

Share this post


Link to post
Share on other sites

For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

Dont wish to sound nasty, @BrockleyJohn but that doesn't help. By the way what is bitcoin.

To be honest I would have thought that @Harald Ponce de Leon may have updated this sooner as its a module that oscommerce created. Is there anyone else that could possibly help with how to update this module as Harald cant be bothered to support something that he created. Frustration is starting to tell.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

@14steve14 no, I know - that was aimed at tmcca who wants it for bitcoin (yesterday's news - and the day before, and the day before that... and the subject of only about a quarter of the spam I get).

Are you in a rush for it?


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

@BrockleyJohn

My older installation seems to be working fine, its just that as its a module developed by Harald, then I was sort of hoping that maybe there was just the faintest hope that it my be officially updated, but lets not go there. Thats not to be by the looks of things. If I knew what I was doing I would have a stab at it, but thats way above my pay grade.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

I had a quick look - as far as I can tell the high-level design of the stripe interface hasn't changed, just the implementation so it might be a case of rewriting all the calls against the new API rather than redesigning the module from scratch. However, it seems to be one of the most complicated payment methods so even if I'm right in that it's no small task.


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

Dear All,

I'm getting an error with Stripe Checkout. It says;

There has been an error processing your credit card

Please try again and if problems persist, please try another payment method.

Here is the debug email that I've received;

$HTTP_POST_VARS:

Array
(
    [matc] => on
)

Your help would be greatly appreciated.

Share this post


Link to post
Share on other sites

You may be better off starting a new topic rather than asking a question that is not related to the original post.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Maybe I should've posted my issue here.  Stripe is telling me that unless I start using TLS later than 1.0, my store's requests will not go through as of June 13, 2018.  I am using the Harald Ponce de Leon module v.1.1.

Experience with a similar issue for UPS XML shipping tells me the issue is in the stripe.php file.  That's how we were able to upgrade the calls to TLS 1.2 with the UPS shipping module (upsxml.php).  I can't find similar code in the stripe.php file, however.  I'm pretty sure it has to do with the curl calls, but like you said, it's way above my pay grade.

Share this post


Link to post
Share on other sites

OK - at least with my hosting service (HostGator), it seems all I had to do was upgrade to PHP 5.4.  That fixed everything.

Share this post


Link to post
Share on other sites
On 3/10/2018 at 7:26 PM, TomB01 said:

OK - at least with my hosting service (HostGator), it seems all I had to do was upgrade to PHP 5.4.  That fixed everything.

I also use HostGator and I've updated to php 5.4.  How do you know that the problem is solved?  I couldn't figure out how to test this.  Thanks.

Share this post


Link to post
Share on other sites

@Heatherbell

I have no idea. Maybe a quick google or even a search through the user manual or on Stripe. I dont use the proxy server setting on my setup.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites
52 minutes ago, Heatherbell said:

Do I just leave it blank then? 

Yep, just leave the proxy setting blank, works fine for me


osC BS gold live - osC CE in development (awesome)

Share this post


Link to post
Share on other sites

I received the following in an email from Stripe. Dont know how it changes things but if two factor authentication is required a new module will be required.

Speaking to Stripe they say I need to speak to a developer, but as I have already tried that looks like I and many others may need a new module or a new cart.

Quote

On 14 September 2019, a new European regulatory requirement called Strong Customer Authentication (SCA) will introduce two-factor authentication requirements for many online payments in Europe. We expect this regulation to be enforced in the UK regardless of the outcome of Brexit. Payments that aren’t authenticated will be declined by your customers’ banks.

We’ve released a new payments API and SCA-ready products to help you prepare for this change. To get ready for these new rules and avoid having many European payments declined, you’ll need to make changes to your payment flows and Stripe integration by 14 September 2019. Read our docs to learn more about SCA and the required changes.

 


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

@14steve14 I looked at the stripe integration docs, and I couldn't make head or tail out of it.  I agree it looks like a developer job. But who?


osC BS gold live - osC CE in development (awesome)

Share this post


Link to post
Share on other sites
Posted (edited)

@JcMagpie Been using them for ages now. Cheaper than paypal and as I found out one day great customer support. No complaints here. Just have to be patient and wait for your money, but that will change apparently when the new modules are used as the risk for the processor changes.

Opencart module has been updated as have a few others so some can do it. Above my pay grade though.

Code does look a nightmare though. Hoping @HPDL gets on to this as he is now back. Other payment modules may also need changing to comply, but who knows.

Edited by 14steve14

REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

You still have a couple of months before the deadline and even then it's not beeing turned off just may get more declines than normal.

SCA-ready products and APIs

Stripe has prepared pre-built and customizable solutions to help you prepare for SCA. You will need to update your integration to support 3D Secure 2 before September 14, 2019. Integrations that are not SCA-ready, such as ones that use the Charges API, will start seeing high rates of declines on September 14, 2019.

With Checkout and Billing, since Stripe manages the end-to-end experience, we can update your integration to prepare for future regulations with minimal changes required by you.

To prepare for SCA, you should:

  1. Determine if your business is impacted

  2. Decide which one of our new SCA-ready products is right for your business
  3. Make changes before September 14, 2019 in order to avoid declined payments

 

Had a look at the add-on and it's a certified one so not sure if you can just update it as it probably need to be submited for recertification.

 


 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×