forked from thephpleague/omnipay-sagepay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue thephpleague#112 and thephpleague#114 - mainly Sage Pay Form su…
…pport. For thephpleague#114 the `billingForShipping` flag copies the billing address to the delivery address, so only the billing address needs to be supplied.
- Loading branch information
Showing
15 changed files
with
638 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
namespace Omnipay\SagePay; | ||
|
||
use Omnipay\Common\AbstractGateway as OmnipayAbstractGateway; | ||
use Omnipay\SagePay\Traits\GatewayParamsTrait; | ||
|
||
abstract class AbstractGateway extends OmnipayAbstractGateway implements ConstantsInterface | ||
{ | ||
use GatewayParamsTrait; | ||
|
||
/** | ||
* Examples for language: EN, DE and FR. | ||
* Also supports a locale format. | ||
*/ | ||
public function getDefaultParameters() | ||
{ | ||
return [ | ||
'vendor' => null, | ||
'testMode' => false, | ||
'referrerId' => null, | ||
'language' => null, | ||
'useOldBasketFormat' => false, | ||
'exitOnResponse' => false, | ||
'apply3DSecure' => null, | ||
'useAuthenticate' => null, | ||
'accountType' => null, | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.