- Posts: 241
- Thank you received: 5
How to remove the language after payment
- cberry1971
-
Topic Author
- Offline
Less
More
10 years 6 months ago #233308
by cberry1971
How to remove the language after payment was created by cberry1971
-- HikaShop version -- : 2.6.1
Hi guys,
As you can see in this screencapture: vimeo.com/158926519/50adb45dde
THANK_YOU_FOR_PURCHASE and GO_BACK_TO_SHOP are briefly displaying right after PayPal Pro Payment...
We would like to disable both of these as they are not necessary as we only need the final screen.
How do we do this? Do we simply custom override in languages and set bot values to ""?
PS. GO_BACK_TO_SHOP should only be for authorize i believe as it is under the authorize area in the languages
Hi guys,
As you can see in this screencapture: vimeo.com/158926519/50adb45dde
THANK_YOU_FOR_PURCHASE and GO_BACK_TO_SHOP are briefly displaying right after PayPal Pro Payment...
We would like to disable both of these as they are not necessary as we only need the final screen.
How do we do this? Do we simply custom override in languages and set bot values to ""?
PS. GO_BACK_TO_SHOP should only be for authorize i believe as it is under the authorize area in the languages
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 6 months ago #233327
by Mohamed Thelji
Replied by Mohamed Thelji on topic How to remove the language after payment
Hello,
Doing it will only prevent the message from displaying but you'll still be redirected to that page. so if you want to totally skip that step, customizing the _end file of your payment plugin will probably do the job.How do we do this? Do we simply custom override in languages and set bot values to ""?
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
Less
More
- Posts: 241
- Thank you received: 5
10 years 6 months ago #233396
by cberry1971
Replied by cberry1971 on topic How to remove the language after payment
Can you be more specific as to what to change?
We are using PayPal Pro and have selected the return url to be the final page you see.
Thanks, Chris
We are using PayPal Pro and have selected the return url to be the final page you see.
Thanks, Chris
Please Log in or Create an account to join the conversation.
10 years 6 months ago #233405
by nicolas
Replied by nicolas on topic How to remove the language after payment
Hi,
If you change the language translations, it will affect the other payment methods.
If you want to remove these only for PayPal Pro, it's easier to just add CSS to hide that area like that:
#hikashop_paypalpro_thankyou{ display: none; }
If you change the language translations, it will affect the other payment methods.
If you want to remove these only for PayPal Pro, it's easier to just add CSS to hide that area like that:
#hikashop_paypalpro_thankyou{ display: none; }
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
Less
More
- Posts: 241
- Thank you received: 5
10 years 6 months ago #234113
by cberry1971
Replied by cberry1971 on topic How to remove the language after payment
Ok. I understand but that still creates a additional ping of the server/url which is not necessary.
We have some events that have sold out with 100s of entrants in the first minute and so the step matters and using css to hide is not solving the issue.
Any additional thoughts?
Thanks, Chris
We have some events that have sold out with 100s of entrants in the first minute and so the step matters and using css to hide is not solving the issue.
Any additional thoughts?
Thanks, Chris
Please Log in or Create an account to join the conversation.
10 years 6 months ago #234130
by nicolas
Replied by nicolas on topic How to remove the language after payment
Hi,
I don't really see the problem. The CSS will be loaded anyway on the page.
But you sure can do it differently. For example, you can directly remove that area in the file plugins/hikashoppayment/paypalpro/paypalpro_thanks.php
I don't really see the problem. The CSS will be loaded anyway on the page.
But you sure can do it differently. For example, you can directly remove that area in the file plugins/hikashoppayment/paypalpro/paypalpro_thanks.php
Please Log in or Create an account to join the conversation.
Time to create page: 0.195 seconds