Skip to content

Instantly share code, notes, and snippets.

View JonnyCarter's full-sized avatar
🎯
Focusing

Jonathan Carter JonnyCarter

🎯
Focusing
  • London
View GitHub Profile

Installing Divido Widget Version 3

The Divido widget has two functions one is for it to display on product pages to help give indicative finance costs. The other is to allow customers to select finance during the checkout process.

How you install it is nearly the same for both with the only difference is the type of html for checkout.

Include the following script on your page:

``

<?php
include_once '/vendor/autoload.php';
function environments( $key )
{
$array = explode('_', $key);
$environment = strtoupper($array[0]);
switch ($environment) {
case 'LIVE':
@JonnyCarter
JonnyCarter / Custom Integration Guide.md
Last active September 13, 2021 11:04
Divido - Custom integration document

Custom Integration Guide

An overview of how to integrate Divido as a payment option to any webshop.

This document assumes you are developing a reusable plugin to a shop system and it will guide through creating your own integration to any platform. If you are adding Divido to a custom-built webshop or as a one-off integration, some of the sections, such as the settings, might not apply to your case.

We also have pre-built plugins for many top e-commerce systems.

Magento

### Keybase proof
I hereby claim:
* I am jonnycarter on github.
* I am jonathancarter (https://keybase.io/jonathancarter) on keybase.
* I have a public key ASDD1DgNGeBCkyV03WAb5SaH_IvQZY0Cf6P4GnDvRu9WeAo
To claim this, I am signing this object: