Git Product home page Git Product logo

woocommerce's Introduction

Qvickly Payment Gateway for WooCommerce

Qvickly är ett varumärke som används inom Billmate AB - https://qvickly.io

Documentation

Installation manual in Swedish

Description

Qvickly Gateway is a payment plugin for WooCommerce that gives your customers the ability to pay with their favorite payment options. This plugin supports the WooCommerce standard checkout as well as the improved checkout experience that Qvickly Checkout brings. Qvickly Checkout integrates via a iframe solution.

Available payment methods

  • Invoice
  • Part payment
  • Card
  • Bank (Direct Bank payment through Trustly)

Important note

The invoice and part payment plugin only work if the currency is set to Swedish Krona (SEK) and the Base country is set to Sweden.

Compatibility WordPress versions

WordPress 4.5.4 or higher

Compatibility WooCommerce versions

WooCommerce 2.5.5 or higher

Compatibility PHP versions

1.0 - 8.3

Installation

The simplest way to install this module is through the WordPress Plugin Directory. However, if you want to install manually, follow the steps below-

  1. Download and unzip the latest release zip file.
  2. If you use the WordPress plugin uploader to install this plugin skip to step 4.
  3. Upload the entire plugin directory to your /wp-content/plugins/ directory.
  4. Activate the plugin through the 'Plugins' menu in WordPress Administration.
  5. Go to --> Settings --> Qvickly Settings and configure your Qvickly ID and Secret.
  6. Go to --> WooCommerce --> Settings --> Payment Gateways and configure your Qvickly settings.
  7. Go to --> WooCommerce --> Settings --> General --> Default Customer Location and set it to any setting except 'No location by default'
  8. Qvickly Part Payment: Click the button "Update paymentplans" on the settings page to fetch your shops PClasses and store them in the database.

Can I use Wordfence or any other Firewall plugin?

You need to make sure our callback IP, 54.194.217.63, is whitelisted in Wordfence. Navigate to "Wordfence -> Options" and scroll down to "Other Options". Add our ip-number next to "Whitelisted IP addresses that bypass all rules" and it should work. If not, please contact our support, [email protected].

Verified compatible external plugins

How to place Qvickly logo on your site.

Copy the code below for the size that fits your needs.

Large

Qvickly Payment Gateway

<a href="https://qvickly.io"><img src="https://qvickly.io/wp-content/uploads/2023/04/example-qvickly-logo.svg" width="892" height="200" alt="Qvickly Payment Gateway" /></a>

Medium

Qvickly Payment Gateway

<a href="https://qvickly.io"><img src="https://qvickly.io/wp-content/uploads/2023/04/example-qvickly-logo.svg" width="446" height="100" alt="Qvickly Payment Gateway" /></a>

Small

Qvickly Payment Gateway

<a href="https://qvickly.io"><img src="https://qvickly.io/wp-content/uploads/2023/04/example-qvickly-logo.svg" width="223" height="50" alt="Qvickly Payment Gateway" /></a>

Testing

Tested with Browserstack

The e2e tests are using Cypress (https://www.cypress.io/). To run the tests there is a need to do the following.

npm install

Once all dependencies are installed then there is set of commands that can be run to test.

npm run cypress:run

When developing there is a live reload mode.

npm run cypress:open

Local environment

To setup a local Wordpress with Woocommerce and Qvickly Payment Gateway locally, the following steps are needed.

Start a Docker instance:

docker-compose up

A new instance of the CMS are now up and running at the following url:

If you are using 'local' or 'remote' docker contexts:
    http://localhost:8282

If you are using 'ngrok' docker context:
    The public url can be found:
        1. In the logs of the woocommerce container
        2. At http://localhost:4040/status

To login to Wordpress the credentials are:

user: admin
password: 4dm1n

Docker contexts:

docker/remote - will pull all source from github

docker/local - will mount the local source (./src) for the Qvickly payment gateway plugin

docker/ngrok - will publish port 80 of the woocommerce container to a temporary public url powered by Ngrok.

Development

The development tools are available through Composer scripts.

To get all the necessary dependencies from composer, run this command in root directory:

composer install

Run PHP codesniffer with WP coding standards:

composer run php:codesniffer

To run the full test suite:

composer run tests:all

Original code created by Niklas Högefjord - http://krokedil.com/

woocommerce's People

Contributors

andyjohansson avatar ben72 avatar boxedsolutions avatar codedeviate avatar dependabot[bot] avatar doktorb avatar ecomaticdaniel avatar henrik-lofstrom avatar jatiba avatar johnssonm avatar kalorifri avatar kfoobar avatar mattiasnilsson avatar stefanliden avatar victorauren avatar yuxelfindik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

woocommerce's Issues

Set payment satus

Add the function to manually set which order status a new order should have.

Invoice fee invalid id

Fatal error if an invalid id is passed as invoice_fee_id. Then $product does not exist and $product->exists() fail. Check first if $product is object or even better check if with wordpress get_posts and if not then don't execute.

3.9 - The order status text needs to be changed.

"Väl en speciell order status för Billmate Bankbetalning, om du vill använda en egen status och inte WooCommerce inbyggda."

Needs to be changed to:

"Väl en speciell order status för Billmate Bankbetalning, om du vill använda en egen status och inte de som är inbyggda i WooCommerce." or similar.

First time social security fail

The first time you enter a social security number it says that the security number is invalid, if you do the same again it goes through, even if you don't change anything.

Wordpress: 4.0.1
WooCommerce: 2.2.4
Billmate WC Addon: 1.22

WooThemes Helper Licens Key

The module is picked up by WooThemes Helper and prompts the user to enter a licens key. The module does not require a licens key.

woothemes_helper

Error on checkout page

When you come to the checkout page you get the following error:
Notice: Undefined index: maxtotal in .../public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-account.php on line 393
Notice: Undefined index: maxtotal in .../public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-account.php on line 393

This should be fixed in the release-1.23 branch.

I got these error messages after entering 5505050558 in invoice.

Notice: Undefined index: maxtotal in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-account.php on line 393 Notice: Undefined index: maxtotal in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-account.php on line 393 Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-invoice.php on line 851 Notice: Undefined index: se in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-invoice.php on line 852 Strict Standards: Non-static method BillmateCountry::getSwedenData() should not be called statically, assuming $this from incompatible context in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-invoice.php on line 871

Notice: Undefined index: maxtotal in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-account.php on line 393 Notice: Undefined index: maxtotal in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-account.php on line 393 Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-invoice.php on line 851 Notice: Undefined index: se in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-invoice.php on line 852

checkout wordpress 4 0 woocommerce 2 2 62

Manual order support

When you create a manual order with the invoice or partpayment as payment gateway --> create order in Billmate Online.

Include a special CSS file if it exists

In order to make some adjustments to our CSS with that theme we should add a function to include a billmate-special.css if it exists on the server. That way it's easy for everyone to modify the css for the Billmate and make adjustments if necessary.

I got this error when going to cart.

Notice: Undefined index: payment_method in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-invoice.php on line 1152 Notice: Undefined index: payment_method in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-invoice.php on line 1187

cart wordpress 4 0 woocommerce 2 2 6

I got these error messages in checkout page.

Notice: Undefined index: billmate_invo_pno in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-invoice.php on line 1193

Notice: Undefined index: maxtotal in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-account.php on line 393 Notice: Undefined index: maxtotal in /storage/content/17/102017/wp-4-0-wc-2-2-6.andyjohansson.com/public_html/wp-content/plugins/woocommerce-gateway-billmate/class-billmate-account.php on line 393

checkout wordpress 4 0 woocommerce 2 2 6

Check so that you can check out correctly with another currency than SEK

Invoice:
Test to checkout with other currency than SEK. Should be that currency in all declarations of the order.
Card:
Test to checkout with other currency than SEK. Should be that currency in all declarations of the order.

Also check so that the Invoice fee is displayed and handled correctly. It should be converted to the currency used in the checkout process.

3.9 - There is something weird going on with address check or caching.

Now that I try to make an order with invoice with 550101101 to generate an error message that the person number is too short I get a address popup saying the name I have given in first name and last name in registration but no address. If I accept it, only first name last name is put in and rest of the fields are cleaned and I get errors that address fields needs to be put in. I get same error even if I leave the field empty and even uncheck the email checkbox.

woocommerce popup issue

I get error message when fetching pclasses

I Get this error message when trying to fetch pclasses.

Fatal error: Call to undefined function wc_add_notice() in /public_html/wp-content/plugins/woocommerce-gateway-billmate/commonfunctions.php on line 18

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.