Skip to content

Commit

Permalink
Merge branch 'dev-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mason authored and mason committed Feb 21, 2024
2 parents c122d7e + 21d6685 commit dcbfb93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ View our full installation guide: <https://docs.paymentwall.com/modules/woocomme

== Changelog ==

= v1.13.0 [02/21/2024] =
* Use a more proper way to display the Order Number on widget

= v1.12.0 [08/11/2022] =
* Correct subscription status

Expand Down
2 changes: 1 addition & 1 deletion src/includes/class-paymentwall-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function receipt_page($order_id) {
$goods = array($subscriptionData['goods']);
} else {
$goods = array(
new Paymentwall_Product($order_id, $orderData['total'], $orderData['currencyCode'], 'Order #' . $order_id)
new Paymentwall_Product($order_id, $orderData['total'], $orderData['currencyCode'], sprintf(__('Order #%s', PW_TEXT_DOMAIN), $order->get_order_number()))
);
}
} catch (Exception $e) {
Expand Down
2 changes: 1 addition & 1 deletion src/paymentwall-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin Name: Paymentwall for WooCommerce
* Plugin URI: https://docs.paymentwall.com/modules/woocommerce
* Description: Official Paymentwall module for WordPress WooCommerce.
* Version: 1.12.0
* Version: 1.13.0
* Author: The Paymentwall Team
* Author URI: http://www.paymentwall.com/
* Text Domain: paymentwall-for-woocommerce
Expand Down

0 comments on commit dcbfb93

Please sign in to comment.