VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: john-doe on May 28, 2014, 02:19:33 AM

Title: Persostent errors after paypal processing.
Post by: john-doe on May 28, 2014, 02:19:33 AM
Greetings.

I'm using the default paypal module from virtuemart.

I'm experimenting errors on transactions even with different users are registering the same address of buyer email despite is marked another email.
Worse thing is that the transaction in paypal goes fine but i get an 2 emails from VM saying that was an error and the order is listed as pending.

Should i attach those logs to this message?

Thanks in advance
Title: Re: Persostent errors after paypal processing.
Post by: GJC Web Design on May 28, 2014, 09:58:05 AM
without seeing the logs no ne can help - remove any sensitive data of course
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 05, 2014, 18:18:25 PM
Ok this is the last log:


2014-06-05 13:42:17 ERROR IPN notification with invalid amount or currency or email: Array
(
[paypal_data] => Array
(
[mc_gross] => 47.80
[invoice] => 4e1407
[protection_eligibility] => Eligible
[address_status] => confirmed
[payer_id] => AFMXDQX42SEWN
[tax] => 2.80
[address_street] => 9935 Fieldthorn St
[payment_date] => 06:42:09 Jun 05, 2014 PDT
[payment_status] => Completed
[charset] => windows-1252
[address_zip] => 92127
[first_name] => John
[mc_fee] => 1.69
[address_country_code] => US
[address_name] => John Doe
[notify_version] => 3.8
[custom] => p2qdn4lemfv74mgspqqvu8udu4
[payer_status] => unverified
[business] => business@address.com
[address_country] => United States
[address_city] => San Diego
[quantity] => 1
[verify_sign] => Af4N848IZsa62sX6RFxWleFcsyZLAUDaLpM.aconSO8STkb6-i-2vQ4w
[payer_email] => johndoe@customer.com
[contact_phone] => 858-472-6298
[txn_id] => 5DF54458AV253904C
[payment_type] => instant
[last_name] => Doe
[address_state] => CA
[receiver_email] => business@address.com
[payment_fee] => 1.69
[shipping_discount] => 0.00
[insurance_amount] => 0.00
[receiver_id] => QECLYNAF4VDDU
[txn_type] => web_accept
[item_name] => Order Number: 4e1407
[discount] => 0.00
[mc_currency] => USD
[item_number] =>
[residence_country] => US
[receipt_id] => 5310-5009-2155-9814
[shipping_method] => Standard Domestic
[handling_amount] => 0.00
[transaction_subject] => p2qdn4lemfv74mgspqqvu8udu4
[payment_gross] => 47.80
[shipping] => 10.00
[ipn_track_id] => 72dc5d5f87a5a
[language] => en-US
)
[payment_order_total] => 35.00000
[currency_code_3] => USD
)


What would be the problem?
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 06, 2014, 14:22:16 PM
I forgot to mention is on la Joomla 2.5.19 with VM 2.6.6
Title: Re: Persostent errors after paypal processing.
Post by: GJC Web Design on June 06, 2014, 15:35:10 PM
says
Quotenotification with invalid amount or currency or email

are they wrong or correct?  assume you put in dummy email addresses?  ->  business@address.com
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 06, 2014, 18:18:06 PM
The log is what the error says... this is a live transaction. The mails were hidden with those names
Title: Re: Persostent errors after paypal processing.
Post by: GJC Web Design on June 06, 2014, 18:22:28 PM
It not what I asked - the error is-> invalid amount or currency or email -

are they correct???? word for word - letter for letter  - puncuation - amounts,  etc to what is in the order?

Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 06, 2014, 18:33:25 PM
Yes, currency is correct, vendor address is correct, price is correct.
Even i had the transaction on paypal, with the money. But i had that transaction in the order list as pending. That's the problem in depth
Title: Re: Persostent errors after paypal processing.
Post by: alatak on June 10, 2014, 17:40:40 PM
Hello

The data received from Paypal says that the transaction amount is
Quote[mc_gross] => 47.80
But the amount stored in the vm payment table says that the order amount is
Quote[payment_order_total] => 35.00000

There is a difference of 12,80 USD.
Can you send the order description on the backend?
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 10, 2014, 18:25:51 PM
Well i'm not sure if the taxes on the paypal account has to do, because the account has set with taxes by state,

Besides yet i havent received any notification of error in transaction.
However i have to be pending since my boss asked me to pass to her email account all the registration ans transactino emails (pass to her administrative privileges since i should not be handling those details)

Title: Re: Persostent errors after paypal processing.
Post by: alatak on June 10, 2014, 19:04:14 PM
Hello
QuoteWell i'm not sure if the taxes on the paypal account has to do, because the account has set with taxes by state,
it looks like that. What is your tax %?
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 10, 2014, 19:07:15 PM
Paypal has the tax cofigured as California taxes 8%. However those amounts are way far from 8%
Title: Re: Persostent errors after paypal processing.
Post by: alatak on June 10, 2014, 19:31:53 PM
Hello
Yes , i completly agree. They are far away.
what is the order amount stored in VM for that order ?
Quote[item_name] => Order Number: 4e1407
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 11, 2014, 14:16:21 PM
Quote from: alatak on June 10, 2014, 19:31:53 PM
Hello
Yes , i completly agree. They are far away.
what is the order amount stored in VM for that order ?
Quote[item_name] => Order Number: 4e1407
It was an order for an item for 25$ plus 10$ of shipment, when i set payment type from normal to shopping cart it was changed but i'm experimenting the problem of the custom fields that i have explained in the other thread.
Title: Re: Persostent errors after paypal processing.
Post by: alatak on June 11, 2014, 14:26:34 PM
Hello
So 35$ is the correct order amount?
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 11, 2014, 14:30:26 PM
Quote from: alatak on June 11, 2014, 14:26:34 PM
Hello
So 35$ is the correct order amount?
Before tax. If the order comes from California or Texas Paypal adds the taxes, that's how is configured the paypal account
Title: Re: Persostent errors after paypal processing.
Post by: alatak on June 11, 2014, 14:32:08 PM
Hello
It is not meant that way: that paypal adds taxes to the amount.
You have to change your paypal configuration.
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 11, 2014, 14:35:21 PM
Quote from: alatak on June 11, 2014, 14:32:08 PM
Hello
It is not meant that way: that paypal adds taxes to the amount.
You have to change your paypal configuration.
Hello. I'm sorry for my ignorance on this but how should i change the configuration in this case since:
The site runs nationwide but only charges taxes for California and Texas and (since i have no access to the paypal backend) what can i do in that case with that?
Title: Re: Persostent errors after paypal processing.
Post by: john-doe on June 11, 2014, 17:32:15 PM
Quote from: alatak on June 11, 2014, 14:32:08 PM
Hello
It is not meant that way: that paypal adds taxes to the amount.
You have to change your paypal configuration.
Hi alatak

Well i have made (and my boss) some modifications so now the tax rules are now applied on VM instead of Paypal. However since i don't know if the errrors are still presenting.

The extra 10$ that were missing of messages before were ANOTHER shipping and handling charge listed on paypal BESIDES the charge done in VM. Now that numbers are in order there is another thing left but that is in the other thread.

For the moemnt i could say that this thread is solved (for the moment).
Title: Re: Persostent errors after paypal processing.
Post by: alatak on June 12, 2014, 09:39:32 AM
Hello
Thank you for your feed back. I hope that this thread will solve other persons.