Skip to content

Commit

Permalink
add module version
Browse files Browse the repository at this point in the history
  • Loading branch information
afatsini committed Jan 24, 2017
1 parent 6b0d85e commit 4a10371
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 1.5.x/includes/modules/payment/pagamastarde.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function __construct() {
if (is_object($order)) $this->update_status();

$this->form_action_url = 'https://pmt.pagantis.com/v1/installments';

$this->version = '2.1';
}

// class methods
Expand Down Expand Up @@ -245,7 +245,9 @@ function process_button() {
'metadata[num_orders]' => $order_count,
'metadata[amount_orders]' => $order_total,
'dob' => $dob,
'metadata[member_since]' => $sign_up
'metadata[member_since]' => $sign_up,
'metadata[module_version]' => $this->version,
'metadata[platform]' => 'zencart '.PROJECT_VERSION_MAJOR.'.'.PROJECT_VERSION_MINOR
);

//product descirption
Expand Down

0 comments on commit 4a10371

Please sign in to comment.