Skip to content

rawdreeg/payfast_donation_block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Accept donations on your drupal site with payfast.

Resources

Stars

Watchers

Forks

Packages

No packages published