VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: t68 on August 13, 2017, 21:57:24 PM

Title: Error message after payment: The layout: post_payment does not exist in...
Post by: t68 on August 13, 2017, 21:57:24 PM
Hi!
Got a problem with the confirmation page after completion of payment with the Payson payment plugin.

I get a popup that says:

"Warning
The layout: post_payment does not exist in:
/home/k/xxxxxx/www/templates/nano/html/vmpayment/paysondirect/post_payment.php
/home/k/xxxxxx/www/plugins/vmpayment/paysondirect/tmpl/post_payment.php
/home/k/xxxxxx/www/plugins/vmpayment/paysondirect/paysondirect/tmpl/post_payment.php
"
(xxxxx is replacing my website url)

The payment goes through ok and an order is registered in Virtuemart. Under the popup I also get the message "Thank you for your order".
So it appears something is wrong with showing the confirmation properly that triggers the error message popup.
Using Paypal works fine with no error message.

So what is the layout "Post_payment" and how can I fix it? Thanks for any help!
I run VM 3.2.2, Joomla 3.7.4 and the Nano template from Virtuemart templates.
Title: Re: Error message after payment: The layout: post_payment does not exist in...
Post by: Ghost on August 14, 2017, 08:35:43 AM
Check if any of the specified files exist.
Title: Re: Error message after payment: The layout: post_payment does not exist in...
Post by: t68 on August 14, 2017, 12:52:52 PM
Quote from: Ghost on August 14, 2017, 08:35:43 AM
Check if any of the specified files exist.
Spot on! After copying the file from VMs standard payment method folder into the first path in the error message the confirmation works fine!

Thanks for the help!

Skickat från min Nexus 6P via Tapatalk