https://github.com/a2nt/silverstripe-userdefinedforms-payments
Userdefined Forms Payments module
https://github.com/a2nt/silverstripe-userdefinedforms-payments
Last synced: 6 months ago
JSON representation
Userdefined Forms Payments module
- Host: GitHub
- URL: https://github.com/a2nt/silverstripe-userdefinedforms-payments
- Owner: a2nt
- License: gpl-3.0
- Created: 2021-07-05T19:57:44.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-23T20:03:35.000Z (over 4 years ago)
- Last Synced: 2024-12-30T04:18:11.770Z (over 1 year ago)
- Language: PHP
- Size: 48.8 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
