Skip to content

Commit

Permalink
Merge pull request #130 from wpsmartpay/dev
Browse files Browse the repository at this point in the history
fix: paypal amount error for bigger amount
  • Loading branch information
atiq-ur authored Jul 4, 2023
2 parents fb9868a + d50d0d4 commit 1cb87ef
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/Modules/Gateway/Gateways/PaypalStandard.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function ajaxProcessPayment($paymentData)
die('Can\'t insert payment.');
}

$payment_price = number_format($paymentData['amount'], 2);
$payment_price = number_format($paymentData['amount'], 2, '.', '');

$default_args = [
'charset' => get_bloginfo('charset'),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wp-smartpay",
"version": "2.7.4",
"version": "2.7.5",
"description": "A simple plugin for receiving payment.",
"repository": {
"type": "git",
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: themesgrove
Tags: download manager, digital product, donation, ecommerce, stripe, paypal, paddle, document manager, file manager, download protection, recurring payment, donations, donation plugin, wordpress donation plugin, wp donation, fundraising, fundraiser, crowdfunding, wordpress donations, gutenberg, gutenberg donations, nonprofit, paypal donations, paypal donate, stripe donations, stripe donate, authorize.net, authorize.net donations, bkash, bkash payment,
Requires at least: 4.9
Tested up to: 6.1.1
Tested up to: 6.2.2
Requires PHP: 7.4.0
Stable Tag: 2.7.4
Stable Tag: 2.7.5
License: GNU Version 2 or later

The Simplest way to sell digital downloads and set up payment forms with Stripe, Paypal and Paddle. Accept donations, service payment and manage downloads with ease.
Expand Down Expand Up @@ -122,6 +122,9 @@ The easiest way to install WP SmartPay is to search for it via your site’s Das
7. Seamless one click checkout

== Changelog ==
= [2.7.5] =
* Fix - PayPal amount error for bigger amount

= [2.7.4] =
* Fix - Coupon is not reduced price for both From and Product.
* Update - Node Package dependencies.
Expand Down
4 changes: 2 additions & 2 deletions smartpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Simplest way to sell digital downloads and fundraise with WordPress. Easily connect Paddle, Stripe, Paypal to accept donations and manage downloads.
* Plugin URI: https://wpsmartpay.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
* Tags: download manager, digital product, donation, ecommerce, paddle, stripe, paypal, document manager, file manager, download protection, recurring payment, donations, donation plugin, wordpress donation plugin, wp donation, fundraising, fundraiser, crowdfunding, wordpress donations, gutenberg, gutenberg donations, nonprofit, paypal donations, paypal donate, stripe donations, stripe donate, authorize.net, authorize.net donations, bkash, bkash payment,
* Version: 2.7.4
* Version: 2.7.5
* Author: WPSmartPay
* Author URI: https://wpsmartpay.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
* Text Domain: smartpay
Expand All @@ -27,7 +27,7 @@

defined('ABSPATH') || exit;

define('SMARTPAY_VERSION', '2.7.4');
define('SMARTPAY_VERSION', '2.7.5');
define('SMARTPAY_PLUGIN_FILE', __FILE__);
define('SMARTPAY_PLUGIN_ASSETS', plugins_url('public', __FILE__));
define('SMARTPAY_STORE_URL', 'https://wpsmartpay.com/');
Expand Down

0 comments on commit 1cb87ef

Please sign in to comment.