Skip to content

Commit

Permalink
ws version 14
Browse files Browse the repository at this point in the history
  • Loading branch information
PaylineGitHub committed Apr 4, 2017
1 parent f9d39e0 commit 7a79442
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions class-wc-gateway-payline.php
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ function generate_payline_form($order_id) {
$this->SDK->usedBy('wooComm '.$this->extensionVersion);

$doWebPaymentRequest = array();
$doWebPaymentRequest['version'] = '14';
$doWebPaymentRequest['payment']['amount'] = round($order->get_total()*100);
$doWebPaymentRequest['payment']['currency'] = $this->_currencies[$order->get_order_currency()];
$doWebPaymentRequest['payment']['action'] = $this->settings['payment_action'];
Expand Down

0 comments on commit 7a79442

Please sign in to comment.