a2nt / userdefinedforms-payments
SilverStripe Userdefined Forms Payments
Package info
github.com/a2nt/silverstripe-userdefinedforms-payments
Type:silverstripe-vendormodule
pkg:composer/a2nt/userdefinedforms-payments
1.0.0
2021-09-07 11:23 UTC
Requires
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
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
