Swish payment

Component ID

2872677

Component name

Swish payment

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

158

Component created

Component changed

Component body

This is an implementation of the Swish payment API. Configuration and utility classes to make Swish payments and a Block submodule to make simple payment forms on pages.

Installation

  1. First you need to get an account and certificates from Swish. Get Swish Here
  2. Place certificates in a safe folder on the server.
  3. Install and enable the module.
  4. Visit /admin/config/swish_payment/settings and set things up.
  5. Visit /swish/form/payment to try it out.

Swish API

Drupalswish_paymentSwishClient is the main utility class that can be used in your own custom module to communicate with Swish server. You can make use of the callback controller to wait for payments if you dont want to build your own.

Swish payment block

This submodule defines a block that can be instantiated and placed in regions and pages as you see fit. A simple way of placing payment/donate forms on your site.