a2nt / userdefinedforms-payments
SilverStripe Userdefined Forms Payments
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
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