Is it possible to run php data retrieval from our on post_payment in vmpayment/standard/ override? I ask because it's beginning to look like my only alternative may be to set up a new plugin that has the ability to display the data I need.
It would be helpful for people answering if you could specify what you want to do
We're trying to post a list of the user's orders on the post payment page. I'm asking because I think at this point our only alternative If we can't is creating a new payment plugin that does what we want. I'd really like to avoid fiddling with that.
Why not display a link to the user page that already displays this? There may be other options. Maybe include code from the orders view?
Regards
Jörgen @ Kreativ Fotografi
That's a thought. You think I could get away with inserting stuff from the orders view? Like I could call that stuff from the price landing page and it wouldn't be an issue? and will the landing page handle an sql call? That's the real issue.
I've looked at the stuff for our order views stuff It's too localized to port over.
Have you tried editing order_done layout of cart view? You could use Order model's getOrdersList function to get user's orders.
Yes, Yes I have tried editing order done, it doesn't work. I have to use the override of post_payment.php for vmpayment/standard. And when I use php functions from anywhere in postpayment. It doesn't end well.
Is there anyway I could do this that doesn't include making a brand new pluign in vm_payment for it?