Jump to content

Stripe Module for Prestashop 1.7.0 hangs


Recommended Posts

Hi Guys,

 

I'm starting a new store that will launch in a few months and I figure that by then there will plenty of 1.7 support.  Right now I'm trying to get Stripe working correctly.  

 

When I enter in a valid credit card number, it just sits there forever.

 

Any suggestions on how to fix or debug this?

 

Thanks!

 

Link to comment
Share on other sites

Please activate debug mode: on Your Back-office "CONFIGURE section under Advanced Parameters > Performance

 

You can also inspect the network traffic with firebug -> network. There you can see exactly what is happening, if there are some error codes.

 

Read also the error logs of your server at the time of hang (ask your provider, if you don't have access to them).

Link to comment
Share on other sites

Debug mode: check if there are any errors writing on top of the page (back-office and front-office). Your site is https, i.e. do you have a SSL certificate ? Perhaps you need one for to get the module working (sorry, but I don't know the module).

 

If I where you, I will contact the developer of the module. He can answer you what is going on. Seems to be a security problem with your server and the script in use (SSL missing, or some other thing).

Link to comment
Share on other sites

  • 1 month later...

Hello,

 

Yes, I have SSL up and running.

 

I will try to contact the dev.

 

Thanks,

Nicholas

Hi

did you fix it?

 

I have stripe installed but it doesnt run properly.

When selectinf Stripe on the check out, it stands there forever not doing anythign after i click the Pay now button. Also I noticed it adds a ?# at the end of the URL

 

Stripe keeps saying the problem is with Prestashop in the integration, and Prestsahop keeps saying that i have to contact Stripe... very bad support from bith ends!

 

any idea??

 

Cheers

David

Link to comment
Share on other sites

  • 2 months later...
  • 7 months later...
On 22/08/2017 at 1:48 AM, bellini13 said:

Our Stripe Reloaded module does, yes

 

 

I am on the 1.7.2.4 and I have exactly the same problem.

Seems it call the URL https://api.stripe.com/v1/sources first, and then return an error, that the redirect URL parameters, for 3D I think is incorrect.

 

Here is the error, any helps ?

{
  "error": {
    "type": "invalid_request_error",
    "message": "Not a valid URL",
    "param": "redirect[return_url]",
    "code": "url_invalid",
    "doc_url": "https://stripe.com/docs/error-codes#url-invalid"
  }
}

 

Link to comment
Share on other sites

I found the problem.

They use the JS variable baseDir, and an other module was using also that variable, that changed it during the execution.

 

Just replace baseDir with baseDirStripe in stripe_official.php, payment_stripe.js and payment.tpl

Link to comment
Share on other sites

we see this problem and it turned out not to be stripe at all but 3rd party opc  module.  we broke it several different ways but it's not obvious until you look at hidden form files of opc module,  what we found was that auto fill will fill 'some hidden fields' not visible to customer, i.e. inovice address but also when auto generate pwd (which required click to enter pwd) would have one pwd field auto filled......so when cust tries to check out they are told they did not fill in all fields.....only until we click to show pwd and/or invoice address do we see error msg...

so we found,  when 3rd party opc modules in this example had hidden fields autfilled,  that stripe floodbar would hang....note we tested everything else on the free stripe module from 202 ecommerce, rock solid.....but OPC IS A BIG ISSUE with this stripe issue but really for any payment method...

el

Link to comment
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
×
×
  • Create New...