Update newpayment.php
This commit is contained in:
parent
b9c0f961c9
commit
16d08bd903
@ -495,7 +495,7 @@ if ($action == 'charge' && ! empty($conf->stripe->enabled))
|
||||
'metadata' => $metadata,
|
||||
'customer' => $customer->id,
|
||||
'source' => $card,
|
||||
'statement_descriptor' => dol_trunc($FULLTAG, 10, 'right', 'UTF-8', 1), // 22 chars that appears on bank receipt (company + description)
|
||||
'statement_descriptor_suffix' => dol_trunc($FULLTAG, 10, 'right', 'UTF-8', 1), // 22 chars that appears on bank receipt (company + description)
|
||||
), array("idempotency_key" => "$FULLTAG", "stripe_account" => "$stripeacc"));
|
||||
// Return $charge = array('id'=>'ch_XXXX', 'status'=>'succeeded|pending|failed', 'failure_code'=>, 'failure_message'=>...)
|
||||
if (empty($charge))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user