Skip to content

Commit

Permalink
Task techjoomla#57 chore: Improve codebase and add webhooks support
Browse files Browse the repository at this point in the history
  • Loading branch information
Amol Thite committed Sep 29, 2020
1 parent d72e874 commit e1dbf59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/plugins/payumoney/payumoney.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public function preFormatingData($vars)
public function onTP_ProcessInputData()
{
$data = Factory::getApplication()->input->json->getArray();
$data['transaction_id'] = $data['paymentId'];
$data['order_id'] = $data['udf1'];

return $data;
}
Expand Down
2 changes: 1 addition & 1 deletion code/plugins/payumoney/payumoney/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$posted['email'] = $vars->user_email;
$posted['phone'] = $vars->phone;
$posted['curl'] = $vars->cancel_return;
$posted['surl'] = $vars->cancel_return;
$posted['surl'] = $vars->url;
$posted['furl'] = $vars->url;

$posted['udf1'] = $vars->order_id;
Expand Down

0 comments on commit e1dbf59

Please sign in to comment.