News:

Looking for documentation? Take a look on our wiki

Main Menu

add btn after payment

Started by dorh21, October 03, 2018, 10:02:26 AM

Previous topic - Next topic

dorh21

hey
after user pay he go to this page - https://imgur.com/a/tDok6si
index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived


i want to edit this page..(add btn for exmple)  how i do it?

plugin parmetrs - https://www.awesomescreenshot.com/image/3642223/c51dbc66341ab8c2d11ab5fed1189a27
from the credic card getway site https://www.awesomescreenshot.com/image/3642219/2edf3110049ad37ae610064d55977c71

thanx

kishoreonwork

You must look at the  location for your  plugins/vmpayment/{your_payment_plugin}.


The function 'plgVmOnPaymentResponseReceived' is called by the plugin when a response is received. Please have a look at this function it may have template location. You may get a clue in this function.

Thanks
Kishore




I am available for paid joomla and virtuemart consulting.
[url="http://www.kishoreweblabs.com/"]http://www.kishoreweblabs.com/[/url]
skype kishore2607

dorh21

its meybe from here? html/com_virtuemart/cart/order_done.php ? or its not from vm at all?

GJC Web Design

what ever payment plugin your index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived string is calling ( &pm=X)
that payment plugin should be redirecting u to the orderdone page

in the payment plugin function you can add html etc that will be passed to orderdone
GJC Web Design
VirtueMart and Joomla Developers - php developers [url="https://www.gjcwebdesign.com"]https://www.gjcwebdesign.com[/url]
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
[url="https://extensions.joomla.org/profile/profile/details/67210"]https://extensions.joomla.org/profile/profile/details/67210[/url]
Contact for any VirtueMart or Joomla development & customisation

dorh21


what is  &pm=X ? its id of article? menu?

need to look like thet?
index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&pm=X

thanx!

GJC Web Design

pm = payment method .. the id of the VM payment method so it knows where to send the call
GJC Web Design
VirtueMart and Joomla Developers - php developers [url="https://www.gjcwebdesign.com"]https://www.gjcwebdesign.com[/url]
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
[url="https://extensions.joomla.org/profile/profile/details/67210"]https://extensions.joomla.org/profile/profile/details/67210[/url]
Contact for any VirtueMart or Joomla development & customisation

dorh21

ok i see it 4
https://www.awesomescreenshot.com/image/3648851/9be032c768adf11e505e5e8752b0f1da

how its will help me?
index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&pm=4
if i will do this?

GJC Web Design

Quotewhat ever payment plugin your index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived string is calling ( &pm=X)
that payment plugin should be redirecting u to the orderdone page

in the payment plugin function you can add html etc that will be passed to orderdone

calls the function plgVmConfirmedOrder ($cart, $order)   in your payment plugin

that payment plugin should be redirecting u to the orderdone page

where u can add what ever u want or in the html array/var

if it isn't redirecting it should - change the code or get the dev to do it
GJC Web Design
VirtueMart and Joomla Developers - php developers [url="https://www.gjcwebdesign.com"]https://www.gjcwebdesign.com[/url]
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
[url="https://extensions.joomla.org/profile/profile/details/67210"]https://extensions.joomla.org/profile/profile/details/67210[/url]
Contact for any VirtueMart or Joomla development & customisation