Author Topic: accessing purchase data after purchase made in vmpayment plugin standard  (Read 328 times)

wbyers

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Hello, So I'm working a way to display purchase data for the end user at the after they've finally made the purchase. Does the plugin standard have access to order_items, and from the plugin model/view can I run file get contents on the program data or do I have to use the customfields function? I'm currently back at the drawing board after both previous solutions failed. I have tried to find documentation to no avail, and so I came here.

hellorain

  • Jr. Member
  • **
  • Posts: 69
    • Raincreatives - Virtuemart & Mobile Commerce Experts
  • Skype Name: support.raincreatives
Hello,

Below post may help you.

https://forum.virtuemart.net/index.php?topic=96760.0

Best Regards,
hellorain.
Raincreatives - Virtuemart & Mobile Commerce Experts

wbyers

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Sorry, I don't seem to have explained it well. I'm looking to add a purchase/order review screen to the landing page that comes from vmpayment standard after the purchase is actually made. Basically, I want to create this list on the attached page

hellorain

  • Jr. Member
  • **
  • Posts: 69
    • Raincreatives - Virtuemart & Mobile Commerce Experts
  • Skype Name: support.raincreatives
Hello,

For that You need to do some customization.

Best Regards,
hellorain.
Raincreatives - Virtuemart & Mobile Commerce Experts

wbyers

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
I know, that I'm trying to find documentation so That I can do the set it up for standard properly, the standard plugin portion of vmpayment doesn't seem to be documented well. I have no idea how it gets table data, or what order data it has access to by default. I'm only hear because I couldn't find that documentation elsewhere.

K&K media production

  • VirtueMart Developer Team
  • Global Moderator
  • Full Member
  • *
  • Posts: 834
  • VirtueMart Version: VM3 on J3
plugins/vmpayment/standard/standard/tmpl/post_payment.php

you can make a template override and change what you want

https://docs.virtuemart.net/tutorials/templating-layouts/101-how-to-overwrite-plugins.html

wbyers

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
I know about that. I'm trying to find documentation for the actual vm standard plugin so that I can build the thing I need. Because I cannot find documentation on how vmstandard plugin works, which I need to do to make a successful override to do what I want to do.

K&K media production

  • VirtueMart Developer Team
  • Global Moderator
  • Full Member
  • *
  • Posts: 834
  • VirtueMart Version: VM3 on J3

wbyers

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Thank you. I could not find that in my searchs. It's not a lot but it is something. Thanks

You wouldn't have anything on the standard payment extension of the vm plugin would you? Trying to get the data from there. Specifically, do you know if it has the ability to handle file get contents and $order['item']?
I need the latter for so I can grab the virtuemart_product_id.

If anything can I still access the cart data and pull this stuff from there as in will data pulled from $cart still remain in the variables after the cart itself is cleaned out?