Update transaction.php

This commit is contained in:
ptibogxiv 2018-09-13 11:32:52 +02:00 committed by GitHub
parent fad2502525
commit c36ee72de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,10 +122,10 @@ if (! $rowid) {
{
//$charge = $txn;
//var_dump($txn);
// The metadata FULLTAG is defined by the online payment page
/*$FULLTAG=$charge->metadata->FULLTAG;
// Save into $tmparray all metadata
$tmparray = dolExplodeIntoArray($FULLTAG,'.','=');
// Load origin object according to metadata
@ -145,7 +145,7 @@ if (! $rowid) {
{
$memberstatic->id = 0;
}*/
$societestatic->fetch($charge->metadata->idcustomer);
$societestatic->id = $charge->metadata->idcustomer;
$societestatic->lastname = $obj->lastname;
@ -156,7 +156,7 @@ if (! $rowid) {
$societestatic->societe_id = $obj->fk_soc;
print '<TR class="oddeven">';
// Ref
print "<TD><A href='" . DOL_URL_ROOT . "/stripe/transaction.php?rowid=" . $txn->source . "'>" . $txn->source . "</A></TD>\n";
// Stripe customer