News:

Support the VirtueMart project and become a member

Main Menu

Paypal IPN Notification

Started by chancehoggan, October 28, 2011, 16:42:50 PM

Previous topic - Next topic

Joseph Kwan

Quote from: alatak on November 29, 2011, 08:41:58 AM
vmorderstatus element can be used by all plugins: payment or shipment, custom, or shoppers, ...

That is exactly the problem. Since the vmorderstatus can be used in other plugins, there may be possibilities that a multiselect dropdown is needed. If you are sure that no one will use it that way, that will be fine. Anyway, you are in the development team, not me.
Joomla/VM Upgrade Services. Problems with your migration? We can help.
Custom extensions to VM. Performance Tuning. Template modifications and advices.
Pay service to make VM work according to your needs. Your Joomla/VM solutions are just a PM away.

alatak

Hi,

QuoteThat is exactly the problem. Since the vmorderstatus can be used in other plugins, there may be possibilities that a multiselect dropdown is needed.
Anyway if one developper needs an multiselect, he can create his own element. That is not a problem.

muddauber

So, which is the best fix to the problem?

I see one suggestion at:
http://wiki.opensource-excellence.com/index.php?title=How_do_I_allow_VirtueMart_IPN_to_work_on_my_website%3F

is to relocate the file. Your suggestion states to change the code.
PayPal sent me this warning, so I need to fix this ASAP:
"If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information.

Once you or your service provider fix this problem, you or your service provider can resend the failed messages from the IPN History page. If this problem continues, PayPal may disable the IPN feature for your account."

alatak

Hi,

the suggestion refers to VM1 and not VM2.

The IPN in Virtuemart 2 f is:

    JROUTE::_(JURI::root() . 'index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component'


VampiRUS

paypal plugin try to work on every request index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component
and doesn't use 'pelement'

sandstorm

I'm confused as to what should be input in the PayPal IPN settings.

Ive looked round the forum and seen a couple of entries from alatak.

Please can you confirm the latest URL to use for IPN.

Many Thanks
J3.6.4 / PHP7.0.12
VM3.0.16

alatak

Hi,

this one is the latest


       "notify_url" => JROUTE::_(JURI::root() . 'index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component'),

sandstorm

Ive added that IPN in Paypal as http://www.mysite.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component

But now when I have made a payment and click the return to site via paypal I return to this error?

Notice: Undefined variable: payment_data in /home/sites/mynewsite.me.uk/public_html/blankets/plugins/vmpayment/paypal/paypal.php on line 300 Fatal error: Call to undefined method plgVmPaymentPaypal::_storePaypalnfos() in /home/sites/mynewsite.me.uk/public_html/blankets/plugins/vmpayment/paypal/paypal.php on line 310
J3.6.4 / PHP7.0.12
VM3.0.16

morktron

I've just tried out PayPal and got

Fatal error: Call to undefined method plgVmPaymentPaypal::_storePaypalnfos() in ***/plugins/vmpayment/paypal/paypal.php on line 310

after a successful order!

I thought all you had to do was put in a valid email address in admin and off you go, like in VM1, but obviously not!

alatak

Hi,
Quote
Code: [Select]
Fatal error: Call to undefined method plgVmPaymentPaypal::_storePaypalnfos() in ***/plugins/vmpayment/paypal/paypal.php on line 310
you are probably using one of the test version.
If you are running 2.0.1, please update to the latest.

olizan

Hello,

I have the same problem. I create a paypal account and i don't know where and what I must write in paypal, for notification (order status) in virtuemart.

actually here is my config paypal :    http://www.nom.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component in instant notification

The order status don't change after an order completion.

could you help me ?

regards

Olivier

freeme

VM 2.0.8c
Virtual Products 2.0.6 1.2

Same here: after successfull PayPal payment, no confirmation mail is sent out to the client. In the order status, it still says "pending".

What do I have to do to get this running? I think this is unsolved since the first release of VM2.

copyman


hanuhp

Quote from: copyman on October 16, 2012, 09:53:33 AM
same with me  :(

Still the same this bug.
Where are the VM support?
please see this bug and fix for us???????????

olizan

It's works if you enter this code in paypal : (yourwebsite must be online)

http://yourdomain/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component