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