Author Topic: Paypal and Stripe: Redirecting to shop: No use of orderdone.php?  (Read 805 times)

ThiloS

  • Beginner
  • *
  • Posts: 15
  • A beginner
Hi there, if paying via Paypal or Stripe i have the following problem:

The redirect to the shop will not use the orderdone.php template.

It just displays a thankyou message inside a <h3> tag and that's it.

The orderdone.php reveals a wrapping class named "vm-wrap" instead.
(By using offline Payment this php-file is used and the "vm-wrap" class can be styled).

How can i get Paypal and Stripe to work with that php.file as well?

Or is there another way to put the "thank you message" inside a div container?

Greets,
Thilo

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1603
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Paypal and Stripe: Redirecting to shop: No use of orderdone.php?
« Reply #1 on: April 26, 2022, 15:56:12 pm »
I think:
Rewrite PayPal or Stripe payment plugin == develop custom version self or waiting for upgrade

Because info to orderdone send payment plugin - our Gopay payment plugin send our info which developed self.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 858
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always the latest
Re: Paypal and Stripe: Redirecting to shop: No use of orderdone.php?
« Reply #2 on: April 26, 2022, 16:00:27 pm »
"orderdone.php" does not always print the final order confirmation page. If you use a self-hosted payment plugin, it prints the order confirmation details in "orderdone.php".

If you use an external payment service, this layout file redirects the users to the external website. In that case, the order confirmation page is displayed using -
components/com_virtuemart/views/vmplg/tmpl/default.php

You can add your desired div in this layout file by overriding it in your template.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1603
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Paypal and Stripe: Redirecting to shop: No use of orderdone.php?
« Reply #3 on: April 26, 2022, 16:11:22 pm »
to Jumbo:
Perfect :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

ThiloS

  • Beginner
  • *
  • Posts: 15
  • A beginner
Re: Paypal and Stripe: Redirecting to shop: No use of orderdone.php?
« Reply #4 on: April 26, 2022, 16:29:16 pm »
@ Jumbo!
This is really PERFECT! Thanks for the help.

Thanks a lot... i guess i would never have found this file!!!