diff --git a/htdocs/stripe/transaction.php b/htdocs/stripe/transaction.php index 996a80cb132..9d9a1c84597 100644 --- a/htdocs/stripe/transaction.php +++ b/htdocs/stripe/transaction.php @@ -167,9 +167,9 @@ if (! $rowid) { if (! empty($conf->stripe->enabled) && !empty($stripeacc)) $connect=$stripeacc.'/'; if (preg_match('/po_/i', $txn->source)){ - $origin="payouts"; + $origin="payouts"; } elseif (preg_match('/fee_/i', $txn->source)) { - $origin="connect/application_fees"; + $origin="connect/application_fees"; } else { $origin="payments"; } @@ -177,13 +177,13 @@ if (! $rowid) { $url='https://dashboard.stripe.com/'.$connect.'test/'.$origin.'/'.$txn->source; if ($servicestatus) - { + { $url='https://dashboard.stripe.com/'.$connect.$origin.'/'.$txn->source; - } + } if ($txn->type == 'stripe_fee' || $txn->type == 'reserve_transaction') { print "".$txn->type.""; - } else print "".img_picto($langs->trans('ShowInStripe'), 'object_globe')." " . $txn->source . "\n"; + } else print "".img_picto($langs->trans('ShowInStripe'), 'object_globe')." " . $txn->source . "\n"; // Stripe customer //print "".$charge->customer."\n"; // Link