News:

Looking for documentation? Take a look on our wiki

Main Menu

Process order After Payment Response

Started by MrMazze, September 30, 2014, 16:54:00 PM

Previous topic - Next topic

MrMazze

Hello Forum,

i need a plugin, which is able to process the order AFTER the payment has been successfully finished independent of the payment method. For Payment-Plugins, there is a trigger like "plgVmOnPaymentResponseReceived", but i don't need a payment plugin. My plugin should work with any payment option.

As far as i can see there is a trigger "plgVmConfirmedOrder", but it is called before the payment is done.

Is there another trigger?

GJC Web Design

function plgVmOnUpdateOrderPayment ($data,$old_order_status) {

if($data->order_status=='C'){

blah blah

}
}
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

MrMazze


MrMazze

No, wait: When i use PayPal in sandbox-mode and abort the payment process the event is fired. When i finish the payment, the event is not fired.