News:

Looking for documentation? Take a look on our wiki

Main Menu

Virtuemart webhook to change order status

Started by m.davide82, April 22, 2020, 09:44:23 AM

Previous topic - Next topic

m.davide82

Hi,

anyone can help me to have a virtuemart webhook to change order status?


Thanks in advance.
Davide

pinochico

Yes

we have plugin for change order status.
From external ERP Systems (like a SAP, Helios, Cezar or MS Azzure) by calling URL with some params.

After call this URL (URL ith order and params), then order change status and order who is payed by payment card change confirm payment too (second checkbox in order detail)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

GJC Web Design

Look in most payment plugins .. there is the code ... you need to write the php to trigger the function

perhaps code a dummy payment plugin and trigger it by the standard   

index.php?option=com_virtuemart&view=vmplg&task=pluginresponsereceived&on=xx&pm=xxx

calls  function plgVmOnPaymentResponseReceived(&$html)

and code your own checks and validation

or a system plugin to do basically the same
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

pinochico

yes, the system plugin, who change order

status who wants (setup in Status Order Change Plugin)
pairing ID (order number or ID number)
write to logs
use as cron + setup token

See attachment (soory is not in english :)

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

m.davide82

Hi,

thank you very much for the answers.

I need that when my order is shipped, the status must be changed to Shipped from en external system that mages the shippings.

It send a post for each status changer of the shipping, I need that when it's shipped, it changes the order status.

Here's the details of the webhook:
https://webhook.qapla.dev/#shipments


Thanks.
Davide

pinochico

yes,

we connected VM from external mobile app and this webhook we are used too.
For this we must created system plugin, similar to what I sent, only the URL will be called webhook, and the plugin will process this webhook and call the internal function to change the order status.

Nice programming work.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

m.davide82

Ok @Pinochico, thanks.

Can you send me a quote, please?


Thanks.
Davide

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products