Skip to content

Vallic/commerce_wise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commerce Wise

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Configuration

INTRODUCTION

This module integrates Drupal Commerce with Wise Quick Pay, https://wise.com/p/business/quickpay

Features

  • Offsite payment gateway in Drupal Commerce core.
  • Webhook integration for real time updates.
  • Payments in Drupal Commerce synchronized with Wise.com.

REQUIREMENTS

This module should be added to your codebase via Composer

composer require "drupal/commerce_wise:^1.0"

There are no other requirements than Commerce Core 3

You must also have a Wise business account to configure for your integration. You can sign up for one here.

CONFIGURATION

Payment gateway configuration

Once you've installed the module, you must navigate to the Drupal Commerce payment gateway configuration screen to define a payment gateway configuration. This will require providing a Wise public key, Wise tag of Wise.com business account and configuring the mode (Live vs. Test).

Webhook setup

  • Log into you Wise Business account.
  • Go to Integration & Tools => Webhooks
  • Create new Webhook of type Account deposit events
    • Enter any name
    • Under URL enter https://yourwebsite.com/payment/notify/machine_name_payment_gateway
      • Replace machine_name_payment_gateway with machine name of payment gateway which you created in Drupal

Public key

Obtaining Wise tag.

  • Log into you Wise Business account.
  • Go to Security & Privacy => Contacts discoverability
  • If there is no tag yet, create new one.

Packages

No packages published

Languages