News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

plgVmOnPaymentNotification triggers several times.

Started by djlancelot, July 30, 2012, 01:57:23 AM

Previous topic - Next topic

djlancelot

I am using Virtuemart 2.0.8e with all in one package. I've configured PayPal payment. No additional checkout plugins are installed.

My problem is when returning from paypal paysite to my VirtueMart site after a successful payment the plgVmOnPaymentNotification method triggers a several times. That means that confirmation emails are also sent a several times to the customer.
The paypal.log file contains the data for the order id only once and when manually changing the order status, the number of emails are correct. The same results in sandbox mode and with real payments.

The parameter array for plgVmOnPaymentNotification is the following:


Array
(
    [mc_gross] => 5
    [invoice] => ea5b010
    [protection_eligibility] => Eligible
    [address_status] => confirmed
    [payer_id] => BLPJXD9KUVVX8
    [tax] => 0
    [address_street] => 1 Main St
    [payment_date] => 16:22:38 Jul 29, 2012 PDT
    [payment_status] => Pending
    [charset] => windows-1252
    [address_zip] => 95131
    [first_name] => ASDO
    [address_country_code] => US
    [address_name] => ASDO DIVIDO
    [notify_version] => 3.5
    [custom] => alu5luuj0s5gouc8ov69q49io7
    [payer_status] => verified
    [business] => MERCHANT MAIL
    [address_country] => United States
    [address_city] => San Jose
    [quantity] => 1
    [payer_email] => PAYER MAIL
    [verify_sign] => AFcWxV21C7fd0v3bYYYRCpSSRl31A26U6gVycAoNGRV.QFOtDg5ugGrv
    [txn_id] => 9AC67465AH898400X
    [payment_type] => instant
    [last_name] => DIVIDO
    [address_state] => CA
    [receiver_email] => MERCHANT MAIL
    [receiver_id] => EGYJW9X94VLA8
    [pending_reason] => multi_currency
    [txn_type] => web_accept
    [item_name] => Order Number: ea5b010
    [mc_currency] => HUF
    [item_number] =>
    [residence_country] => US
    [test_ipn] => 1
    [handling_amount] => 0
    [transaction_subject] => alu5luuj0s5gouc8ov69q49io7
    [payment_gross] =>
    [shipping] => 0
)


djlancelot

Problem seems to be solved using a previous paypal vm-payment method plugin (2.0.8b).