Notice: Only variables should be assigned by reference in /var/www/clients/client4/web20/web/templates/shape5_vertex/vertex/responsive/responsive_mobile_sidebar.php on line 8

Notice: Only variables should be assigned by reference in /var/www/clients/client4/web20/web/templates/shape5_vertex/vertex/responsive/responsive_mobile_menu.php on line 278

VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Does not work with one payment Gateway

Does not work with one payment Gateway 07 Sep 2016 16:07 #1

Hi,

I use your plugin in Joomla 3.6.2 with virtuemart 3.0.16
Your plugin adds the buyer to a certain joomla group (group2).
Everything is working fine with paypal. When I buy a product, using paypal I can use the new joomla groups at once after being redirected from paypal to Joomla. In Virtuemart the status of my order is "abgeschlossen" (= paid)

When I use sofort.com (sofortüberweisung) I return to the site all the same. But I am not added to the new Groups. In Virtuemart i have also the status of "abgeschlossen" (= is paid). I tested this in test-mode and in normal mode, with real money transfered. It does not work.
It seems, as if the status of the order is set correctly, but the plugin does not realize this change.
Do you have any idea, how I can get this working for "sofortüberweisung"?

Best regards

Wolfgang
The administrator has disabled public write access.

Does not work with one payment Gateway 11 Sep 2016 12:51 #2

Dear Wolfgang,
Sorry to hear you are running into issues.

I have taken a quick look at the Sofortüberweisung payment plugin. The file sofort.php (line 455) contains this code:
		$modelOrder->updateStatusForOneOrder($payments[0]->virtuemart_order_id, $order_history, false);

The last parameter (named useTriggers in the function definition and called with a value false in this case) means that NO triggers are run to notify other plugins about the order status change. In other words, the sofort plugin changes the order status but explicitly instructs VirtueMart not to tell anyone about this. As a consequence, our plugin does not have a chance to handle the order status change...

In my eyes this is an issue of the sofort payment plugin and has to be fixed in the sofort payment plugin.
Can you get in contact with the VM core developers?

Best regards,
Reinhold
The administrator has disabled public write access.

Does not work with one payment Gateway 12 Sep 2016 08:24 #3

Lieber Reinhold,
Freitag nachmittag realisierte ich, dass das Problem im Core-Code des sofort-Codes liegt, nicht in deinem Plugin.
Ich beschloss, das Joomla-Team zu kontaktieren, was ich noch heute machen werde. Vielen Dank für deinen Hinweis mit dem false-Parameter. Ich werde gleich einen Core-Hack austesten, um meinen Kunden möglichst bald zufrieden zu stellen.
Rückmeldungen vom Joomla-Team werde ich an dich weiterleiten.
Vielen Dank nochmals für deinen Einsatz, du hast mir sehr weitergeholfen.
Viele Grüße
Wolfgang
The administrator has disabled public write access.

[SOLVED] Does not work with one payment Gateway 25 Sep 2016 13:47 #4

Problem solved.
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular