Skip to content

Commit

Permalink
Include order reference in transaction_id metadata (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-papikas committed Jun 10, 2020
1 parent 2284480 commit c448a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esatisfaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ public function hookDisplayOrderConfirmation($params)
$app_id = Configuration::get('ESATISFACTION_APP_ID');
$quest_id = Configuration::get('ESATISFACTION_CHKOUTID');
$this->context->smarty->assign([
'order_id' => $params['order']->id,
'order_id' => sprintf('%s (%s)', $params['order']->id, $params['order']->reference),
'order_date' => $params['order']->date_add,
'app_id' => $app_id,
'checkout_quest_id' => $quest_id,
Expand Down

0 comments on commit c448a1e

Please sign in to comment.