Skip to content

a2nt/silverstripe-userdefinedforms-payments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

silverstripe-userdefinedforms-payments

User Defined Forms Conditional Payments Let's you add conditions to calculate amount and require payment using omnipay module

  • Install it using composer composer require a2nt/userdefinedforms-payments

  • Define Payment configuration app/_config/api-payment.yml

---
Name: 'webapp-api-payment'
---
SilverStripe\Omnipay\Model\Payment:
  allowed_gateways:
    - 'PayPal_Express'

SilverStripe\Omnipay\GatewayInfo:
  PayPal_Express:
    parameters:
      username: ''
      password: ''
      signature: ''
      testMode: true # Make sure to override this to false
  • Run /dev/build?flush

  • Define Payment Rules of a specific User Form at the CMS

Screenshot from 2021-07-07 00-04-03

About

Userdefined Forms Payments module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages