Skip to content

Commit

Permalink
Merge pull request #494 from omise/release-v6.0.3
Browse files Browse the repository at this point in the history
Release v6.0.3
  • Loading branch information
aashishgurung authored Nov 27, 2024
2 parents b07f1e5 + 284ec05 commit b917cf2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## [v6.0.3 _(Nov 27, 2024)_](https://github.com/omise/omise-woocommerce/releases/tag/v6.0.3)
- Fix the issue of GooglePay not showing in shortcode. (PR: [#493](https://github.com/omise/omise-woocommerce/pull/493))

## [v6.0.2 _(Nov 20, 2024)_](https://github.com/omise/omise-woocommerce/releases/tag/v6.0.2)
- Resolved installment issue when card is saved in shortcode setup. (PR: [#490](https://github.com/omise/omise-woocommerce/pull/490))

Expand Down
2 changes: 1 addition & 1 deletion includes/gateway/class-omise-payment-googlepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private function google_pay_button_scripts() {
merchantId: '" . $this->googlepay_config['merchant_id'] . "',
},
transactionInfo: {
totalPriceStatus: " . $this->googlepay_config['price_status'] . ",
totalPriceStatus: '" . $this->googlepay_config['price_status'] . "',
currencyCode: '" . $this->googlepay_config['currency'] . "',
},
}
Expand Down
4 changes: 2 additions & 2 deletions omise-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Opn Payments
* Plugin URI: https://www.omise.co/woocommerce
* Description: Opn Payments is a WordPress plugin designed specifically for WooCommerce. The plugin adds support for Opn Payments Payment Gateway's payment methods to WooCommerce.
* Version: 6.0.2
* Version: 6.0.3
* Author: Opn Payments and contributors
* Author URI: https://github.com/omise/omise-woocommerce/graphs/contributors
* Text Domain: omise
Expand All @@ -23,7 +23,7 @@ class Omise
*
* @var string
*/
public $version = '6.0.2';
public $version = '6.0.3';

/**
* The Omise Instance.
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Opn Payments
Tags: opn payments, payment, payment gateway, woocommerce plugin, omise, opn, installment, internet banking, alipay, paynow, truemoney, woocommerce payment
Requires at least: 4.3.1
Tested up to: 6.6.2
Stable tag: 6.0.2
Stable tag: 6.0.3
License: MIT
License URI: https://opensource.org/licenses/MIT

Expand Down Expand Up @@ -34,6 +34,10 @@ From there:

== Changelog ==

= 6.0.3 =

- Fix the issue of GooglePay not showing in shortcode. (PR: [#493](https://github.com/omise/omise-woocommerce/pull/493))

= 6.0.2 =

- Resolved installment issue when card is saved in shortcode setup. (PR: [#490](https://github.com/omise/omise-woocommerce/pull/490))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function google_pay_button_scripts()
merchantId: '',
},
transactionInfo: {
totalPriceStatus: NOT_CURRENTLY_KNOWN,
totalPriceStatus: 'NOT_CURRENTLY_KNOWN',
currencyCode: 'thb',
},
}
Expand Down

0 comments on commit b917cf2

Please sign in to comment.