Skip to content

WeGetFinancing/woocommerce-checkout-plugin

Repository files navigation

WeGetFinancing Payment Checkout for WooCommerce

Increase sales volume and conversion of your WooCommerce by offering instantaneous credit at point of purchase.

WeGetFinancing allows merchants to offer flexible financing options to their customers.

1. Description of the Plugin

The WeGetFinancing payment gateway is specifically designed for e-commerce merchants.

Our payment gateway offers different financing options to your customers at checkout, providing a convenient and flexible way for them to pay for their purchases.

This can help to increase your sales and customer satisfaction by providing an easy and accessible way for customers to finance their purchases.

Our plugin allow you to offer:

  • Multiple lenders: More lenders, more approvals for your customers.
  • Real-time instant approval: Allow your customers to access financing easily.
  • All credit types: Approve customers of all credit types.
  • Secure payment processing: All transactions are safe inside our secure platform.
  • Detailed reporting and analytics: Detailed analytics of your financed sales.

2. How to install

2.1. Via the WordPress Market

  1. Download the plugin, it's called "WeGetFinancing Payment Gateway", from the WordPress Market and install.
  2. Once installed go to Plugins > Installed Plugins.
  3. Find the plugin, and click on the "Activate" button. Plugin Activation

2.2. Via the plugin.zip file

  1. Download the github zip as shown in the next image. Plugin Activation
  2. Log in into your WordPress installation, ensure you have administrative privileges.
  3. Go to Plugins > Add New.
  4. Click on the button "Upload Plugin", it is positioned nearby the header "Add Plugins"
  5. Click on the button "Choose file" to select the plugin.zip file that you downloaded before
  6. Proceed with Install Now and follow the instructions
  7. Once installed go to Plugins > Installed Plugins
  8. Find the plugin, it's called "WeGetFinancing Payment Gateway", and click on the "Activate" button Plugin Activation

3. Configuration

3.1 First set up

  1. Take the Merchant Token ID:
    1. Connect into our partner portal, the url depends on the environment:
    2. Log in with your credentials
    3. From the left menu, select "Integration" > "API integration" Plugin Activation
    4. Copy Merchant ID, Username adn Password Plugin Activation
    5. Log out of the portal
  2. Log in into your WordPress installation, ensure you have administrative privileges.
  3. Go to WooCommerce > Settings Plugin Activation
  4. Click on the tab "Payments" Plugin Activation
  5. You can see our plugin called "WeGetFinancing"
  6. Click on the "Finish set up" button on the right side. Plugin Activation
  7. You will see a form like the following one: Plugin Activation
  8. Fill the form as per following description:
    1. Sandbox Environment: if enabled, all the API calls will pass through the sandbox environment, otherwise to production.
    2. Username: the username from the WeGetFinancing portal.
    3. Password: the password from the WeGetFinancing portal.
    4. Merchant ID: the merchant ID from the WeGetFinancing portal.
    5. Display error selector: the HTML class of the selector where display the error messaging in the checkout page. The default value works fine with default WooCommerce template.
    6. Display error method: in HTML we can append (after) or prepend (before) the element elected, here you can select the behaviour of the attachment. The default value works fine with default WooCommerce template.
  9. Click on the "Save Changes" button, if successfully saved, it will show you the following success note: Plugin Activation
  10. Come back to WooCommerce > Settings > Payments
  11. In the main payment table, switch to "ON" the button under the "Enabled" section as per following screenshot Plugin Activation

3.2 Cart and Checkout Gutenberg Blocks

Starting with WooCommerce version 8.3, the Cart and Checkout Blocks are the default for new installations. These blocks are part of a ground-up rebuild of the checkout flow, based on industry best practices which offer conversion-optimized features and a simplified shopper flow. With easy customization options, you can maintain your brand identity and provide a visually appealing and consistent checkout journey for your customers.

These new blocks are fully functional and most extensions developed by WooCommerce fully support the block-based cart/checkout at this time. However, a plugin/extension running on your store may not work as expected. The cart and checkout shortcodes will continue to be available in WooCommerce Core for existing stores that have customized checkout flows requiring them, and for any new stores that have specific needs not yet possible with the Cart and Checkout blocks.

WeGetFinancing Checkout Plugin support both traditional (legacy) templates accessed through shortcodes and modern Gutenberg blocks.

For more information on how to switch between the two, please follow the Official WooCommerce Documentation.

3.3 Configure PPE

  1. Take the Merchant Token ID:
    1. Connect into our partner portal, the url depends on the environment:

    2. Log in with your credentials

    3. From the left menu, select "Integration" > "Conversion boosters"

      Plugin Activation

    4. Copy the Token ID Plugin Activation

    5. Log out of the portal

  2. Log in into your WordPress installation, ensure you have administrative privileges.
  3. From the main lateral menu, select "WeGetFinancing PPE" Plugin Activation
  4. Compile the settings with your preferences, use the token id from the partner portal Plugin Activation
  5. If everything is correct, you will receive a success message like this Plugin Activation
  6. Copy the shortcode [wegetfinancing-ppe]
  7. Go in the page in which you want to embed, e.g. the shop page, and edit it. Plugin Activation
  8. Add the shortcode to the page Plugin Activation
  9. The PPE widget should appear in the selected page Plugin Activation

3.4 Test the plugin

  1. Open an incognito windows, or another browser, or be sure you're not logged in into the WordPress. The plugin doesn't work if you have a logged-in session.
  2. Add one or more products in the cart
  3. Go to the checkout page
  4. Under the payment options you'll see "WeGetFinancing"
  5. If the option is selected, the "Place order" button will be replaced with "Check out with WeGetFinancing" one.
  6. Click on the last button to proceed with WeGetFinancing Funnel

4. Development environment

This part is intent only for skilled technical people.

4.1. Install a fresh version of WordPress:

  1. Configure your .env file
  2. Ensure that all the container are down
    docker-compose down -v --remove-orphans
    
  3. Delete any content inside the folders "./var/wp" but not the folders itself
    rm -rf ./var/wp/*
    
  4. Start docker-compose
    docker-compose up -d
    

4.2. Regenerate vendors

To regenerate optimised vendors for your version of php, use the following command:

docker-compose run --rm composer install

4.3. Compile Gutenberg plugin

Install the latest version of the javascript dependencies

npm install

Build the latest version

npm run build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published