Plugin could not be activated because it triggered a fatal error.

Status:

This topic contains 9 replies and has 2 voices.
  • 6 mois auparavant

    This is the error i get when tryong to activate the plugin.

    Parse error: syntax error, unexpected '[' in /home/sites/spottrackerrental.co.uk/public_html/wp-content/plugins/dopbsp-stripe/dopbsp-stripe.php on line 360

    Please advise?
  • dragos dragos Support team #10840
    6 mois auparavant

    Hello,

    Please provide wp-admin and ftp credentials in the designated areas and we will investigate and fix your issue.

    Best regards,
    Support team
  • 6 mois auparavant

    Added as requested.
  • dragos dragos Support team #10855
    6 mois auparavant

    Hello,

    You get that error because you are using PHP 5.3 and the minimum version is 5.4 in order to properly run. I made a change and used the proper syntax for your PHP version and now the add-on is installed. However we cannot guarantee that Stripe add-on will run withouts errors since you are using that PHP version. As you can see the other Stripe payment plugin is pointing for the same issue.
    You can contact your hosting provider to upgrade your PHP version and also you should upgrade the cURL version necessary for online payments.

    Best regards,
    Support team
  • 6 mois auparavant

    Thank you for enabling the plugin but i cant get it to work. Once the details are filled in and I hit the book now button, the dots just scroll around and dont go any further?

    I have updated the site to PHP 7.2 as you suggested. I am unsure of the cURL you refer too?

    Also, will this record the users card details, as I require this ability?

    Cheers

    Ian
  • dragos dragos Support team #10861
    6 mois auparavant

    Hello,

    Please make sure you have the right keys in the right fields. I think you placed the secret live key in the publishable field and the publishable live key in the secret key field. Make sure to switch them and run another test.
    I made a test using test keys and it worked properly.

    Best regards,
    Support team
  • 6 mois auparavant

    Sorry, my bad! Wasnt paying attention. Working now.

    Can this be set to record the users card details, as I require this ability?

    Cheers

    Ian

  • 6 mois auparavant

    Sorry but something is still not quite right? Payments are going though ok but the end user doesn't get booking confirmation or any notification that the payment has been made. When hitting the book now button, the dots just scroll round?

    There is also no reservation on the system despite the payment being taken?
  • dragos dragos Support team #10887
    6 mois auparavant

    Hello,

    Just made a test booking using Stripe in sandbox environment (using test keys) and it worked properly - see the screenshot.
    Please try to make a live reservation to test how it works.
    However you may be required to upgrade your cURL version to work properly (contact your hosting provider in this matter).
    http://i66.tinypic.com/wlvg9j.png

    Best regards,
    Support team
Useful links
Support statistics

2865 topics

2042 topics are solved

38 topics are unsolved

196 topics are unsolved because the customer did not reply

589 topics are unsolved because a feature was not available

Services
Working hours

We will try to answer your questions in maximum 48 hours, usually between:

07:00 (07:00 AM) – 16:00 (04:00 PM) GMT
Working Days (Monday – Friday)