Author Topic: add btn after payment  (Read 209 times)

dorh21

  • Beginner
  • *
  • Posts: 18
  • A beginner
  • Skype Name: dorh21
add btn after payment
« on: October 03, 2018, 10:02:26 am »
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

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 52
  • Free Virtuemart Consulting For Non Profits
    • virtuemart expert
  • Skype Name: kishore2607
  • VirtueMart Version: 3
Re: add btn after payment
« Reply #1 on: October 03, 2018, 10:39:58 am »
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.
http://www.kishoreweblabs.com/
skype kishore2607

dorh21

  • Beginner
  • *
  • Posts: 18
  • A beginner
  • Skype Name: dorh21
Re: add btn after payment
« Reply #2 on: October 03, 2018, 10:44:49 am »
its meybe from here? html/com_virtuemart/cart/order_done.php ? or its not from vm at all?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8200
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: add btn after payment
« Reply #3 on: October 03, 2018, 13:59:06 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

dorh21

  • Beginner
  • *
  • Posts: 18
  • A beginner
  • Skype Name: dorh21
Re: add btn after payment
« Reply #4 on: October 07, 2018, 18:31:37 pm »

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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8200
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: add btn after payment
« Reply #5 on: October 07, 2018, 18:37:03 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

dorh21

  • Beginner
  • *
  • Posts: 18
  • A beginner
  • Skype Name: dorh21
Re: add btn after payment
« Reply #6 on: October 07, 2018, 21:06:52 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8200
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: add btn after payment
« Reply #7 on: October 07, 2018, 21:41:30 pm »
Quote
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

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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation