Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / Invoicing Support / [SOLVED]PayPal: incorrectly formatted item amount

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

[SOLVED]PayPal: incorrectly formatted item amount

More
11 years 6 months ago #1362 by tompap
hello in plugins/invocingpayement/paypal/paypal.php replace amount = $this->gross_amount by $this->net_amount

then in plugins/invocingpayement/paypal/payment.php replace echo $this->tax_amount by echo "0"
and echo $this->amount by echo round($this->net_amount,2)
More
11 years 6 months ago - 11 years 6 months ago #1368 by mweigand
It doesn´t work for me, but thanks for the hints.

I made it with two small changes in plugins/invoicingpayment/paypal/paypal/payment.php

Line 28
Before
<input type="hidden" name="amount" value="<?php echo $this->amount;?>" />
After
<input type="hidden" name="amount" value="<?php echo round($this->amount,2);?>" />

Line 36
Before
<input type="hidden" name="tax" value="<?php echo $this->tax; ?>" />
After
<input type="hidden" name="tax" value="<?php echo round($this->tax, 2); ?>" />

With this change it will forward the right value amount and taxes.
Last edit: 11 years 6 months ago by mweigand.
Time to create page: 0.126 seconds
Powered by Kunena Forum