1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Working on Payfast ITN

This commit is contained in:
Hillel Coren 2017-10-24 16:17:34 +03:00
parent 38b7479053
commit 9a6d8e4c6a
2 changed files with 5 additions and 1 deletions

View File

@ -89,6 +89,8 @@ class Gateway extends Eloquent
'developerMode',
// Dwolla
'sandbox',
// Payfast
'pdtKey',
];
/**

View File

@ -48,7 +48,9 @@
{!! Former::populateField(GATEWAY_BRAINTREE . '_testMode', 1) !!}
{!! Former::populateField('enable_paypal', 1) !!}
{!! Former::populateField(GATEWAY_GOCARDLESS . '_accessToken', env('GOCARDLESS_TEST_TOKEN')) !!}
{!! Former::populateField(GATEWAY_GOCARDLESS . '_webhookSecret', env('GOCARDLESS_TEST_WEBHOOK_SECRET')) !!}
{!! Former::populateField(GATEWAY_GOCARDLESS . '_testMode', 1) !!}
{!! Former::populateField(GATEWAY_PAYFAST . '_merchantId', env('PAYFAST_TEST_MERCHANT_ID')) !!}
{!! Former::populateField(GATEWAY_PAYFAST . '_merchantKey', env('PAYFAST_TEST_MERCHANT_KEY')) !!}