mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:04:41 -04:00
length of record for auth.net
This commit is contained in:
parent
78474bc5cd
commit
b261e9fa95
@ -51,8 +51,8 @@ class ChargePaymentProfile
|
||||
$description = "Invoices: {$invoice_numbers} for {$amount} for client {$this->authorize->client->present()->name()}";
|
||||
|
||||
$order = new OrderType();
|
||||
$order->setInvoiceNumber($invoice_numbers);
|
||||
$order->setDescription($description);
|
||||
$order->setInvoiceNumber(substr($invoice_numbers,0,19));
|
||||
$order->setDescription(substr($description,0,255));
|
||||
|
||||
$transactionRequestType = new TransactionRequestType();
|
||||
$transactionRequestType->setTransactionType('authCaptureTransaction');
|
||||
|
@ -169,7 +169,7 @@ class StripePaymentDriver extends BaseDriver
|
||||
&& $this->client->currency()
|
||||
&& ($this->client->currency()->code == 'EUR')
|
||||
&& isset($this->client->country)
|
||||
&& in_array($this->client->country->iso_3166_3, ['AUS', 'DNK', 'DEU', 'ITA', 'LUX', 'NOR', 'SVN', 'GBR', 'EST', 'GRC', 'JPN', 'PRT', 'ESP', 'USA', 'BEL', 'FIN'])) { // TODO: More has to be added https://stripe.com/docs/payments/sepa-debit
|
||||
&& in_array($this->client->country->iso_3166_3, ['AUS', 'FRA','DNK', 'DEU', 'ITA', 'LUX', 'NOR', 'SVN', 'GBR', 'EST', 'GRC', 'JPN', 'PRT', 'ESP', 'USA', 'BEL', 'FIN'])) { // TODO: More has to be added https://stripe.com/docs/payments/sepa-debit
|
||||
$types[] = GatewayType::SEPA;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user