Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.35 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.35 KB

payfast_donation_block

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration

INTRODUCTION

A very minimal module that provide a block from to help sites accept donations on their drupal site with payfast.

REQUIREMENTS

This module requires the PayFast PHP SDK as a dependency

INSTALLATION

CONFIGURATION

1. Navigate to "Adminstration > Extend" and enable module.
2. Navigate to "Adminstration > Configuration > Web Services > Payfast Donation Block.
    1. Configure Payfast API.
    2. Configure redirect links.
3. Navigate to Structure -> Block Layout and place "Payfast Donation Block" block to your page.
4. The payment form can also be access on the /pdb/donate path

TO-DO

  • Payment form
  • Onsite payment mode
  • External payment mode
  • Handle itn route.
  • Log payment.