Coder Social home page Coder Social logo

Comments (4)

walfaro-berrysys avatar walfaro-berrysys commented on August 11, 2024 1

I just solved the issue by installing the php-curl library and restarting the apache server:

$ sudo apt-get install php-curl
$ service apache2 restart

from woocommerce-2checkout-api.

Ahmadtalal0786 avatar Ahmadtalal0786 commented on August 11, 2024 1

I have fixed the problem by myself, when u install the plugin then sometime your server will rename all the folders with CAPITAL LETTERS to SMALL LETTERS, this was the case with me, when i echo the error so the include file was missing,
In your C-panel go to file manager and then go to TWOCHECKOUT plugin folder, if you folders are renamed to SMALL LETTER then open TWOCHECKOUT.php file and scroll down to the end and go to the line where it says INCLUDE DIRECTORY, just rename the folder names from CAPITAL LETTER to SMALL LETTERS and then save and then wallah it worked for me,

U need to change the name in this line:

include plugin_dir_path(FILE).'Twocheckout/TwocheckoutApi.php

You need to change only the FIRST T from CAPITAL to SMALL,

include plugin_dir_path(FILE).'twocheckout/TwocheckoutApi.php

from woocommerce-2checkout-api.

walfaro-berrysys avatar walfaro-berrysys commented on August 11, 2024

I am experiencing the same problem. Have tested the plugin with WooCommerce versions 3.3.3 and 3.3.4 without success.

from woocommerce-2checkout-api.

Ahmadtalal0786 avatar Ahmadtalal0786 commented on August 11, 2024

Good to hear tht you solved it 😊😊😊

from woocommerce-2checkout-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.