Skip to content

Commit 9c02909

Browse files
ToBee94barryvdh
authored andcommitted
Allow negativ amount for itens (thephpleague#198)
1 parent 076dd96 commit 9c02909

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Message/AbstractRequest.php

+5
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ abstract class AbstractRequest extends \Omnipay\Common\Message\AbstractRequest
3838

3939
protected $liveEndpoint = 'https://api-3t.paypal.com/nvp';
4040
protected $testEndpoint = 'https://api-3t.sandbox.paypal.com/nvp';
41+
42+
/**
43+
* @var bool
44+
*/
45+
protected $negativeAmountAllowed = true;
4146

4247
public function getUsername()
4348
{

0 commit comments

Comments
 (0)