[Skip to main content](#vessel-content)

#   Mail function before redirect to Paypal

##

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 10 months ago [\#3463](#3463) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  *[Mail function before redirect to Paypal](/forum/4-how-to/3463-mail-function-before-redirect-to-paypal#3463 "Hi,  When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says &quot;mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.  Could this be a bug?  Here's the shop:   varelse.se/butik  Nils")* was created by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")*

Hi,

When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says "mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.

Could this be a bug?

Here's the shop: [ varelse.se/butik](http://varelse.se/butik)

Nils

---

Hikashop Essential 1.4.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0NjMtbWFpbC1mdW5jdGlvbi1iZWZvcmUtcmVkaXJlY3QtdG8tcGF5cGFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 10 months ago [\#3468](#3468) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Mail function before redirect to Paypal](/forum/4-how-to/3463-mail-function-before-redirect-to-paypal#3468 "Hi,  When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says &quot;mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.  Could this be a bug?  Here's the shop:   varelse.se/butik  Nils")*

Hi,

There is no reason for that. The email sent after the order is created and the email sent after the order payment is validated uses the exact same function.

The only thing I could see is that your email server could reject the email because the email encoding is not correct, or because it uses HTML and not the other one, etc.

You could try to switch the settings in the mail configuration of HikaShop like the encoding on the "add name" option, the multipart option, etc.
Also, you should ask your hosting company why such thing could happen and send them your HikaShop email settings. They know better than us we their email server could reject an email.

One thing is sure, is that it doesn't come from HikaShop since it works on all other websites ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0NjMtbWFpbC1mdW5jdGlvbi1iZWZvcmUtcmVkaXJlY3QtdG8tcGF5cGFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 10 months ago [\#3547](#3547) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Mail function before redirect to Paypal](/forum/4-how-to/3463-mail-function-before-redirect-to-paypal#3547 "Hi,  When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says &quot;mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.  Could this be a bug?  Here's the shop:   varelse.se/butik  Nils")*

I got it working by using smtp instead of phpmail.

Another problem with character encoding though. Swedish letters åöä displays wrong. Any idea how to solve it?

---

Hikashop Essential 1.4.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0NjMtbWFpbC1mdW5jdGlvbi1iZWZvcmUtcmVkaXJlY3QtdG8tcGF5cGFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 10 months ago [\#3549](#3549) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Mail function before redirect to Paypal](/forum/4-how-to/3463-mail-function-before-redirect-to-paypal#3549 "Hi,  When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says &quot;mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.  Could this be a bug?  Here's the shop:   varelse.se/butik  Nils")*

Do you mean in emails ? You could try changing the encoding in the configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0NjMtbWFpbC1mdW5jdGlvbi1iZWZvcmUtcmVkaXJlY3QtdG8tcGF5cGFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 10 months ago [\#3551](#3551) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Mail function before redirect to Paypal](/forum/4-how-to/3463-mail-function-before-redirect-to-paypal#3551 "Hi,  When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says &quot;mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.  Could this be a bug?  Here's the shop:   varelse.se/butik  Nils")*

No, at Paypal you see a list of the order items to the left. That's where it doesn't work.

E-mails are ok.

---

Hikashop Essential 1.4.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0NjMtbWFpbC1mdW5jdGlvbi1iZWZvcmUtcmVkaXJlY3QtdG8tcGF5cGFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 10 months ago [\#3553](#3553) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Mail function before redirect to Paypal](/forum/4-how-to/3463-mail-function-before-redirect-to-paypal#3553 "Hi,  When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says &quot;mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.  Could this be a bug?  Here's the shop:   varelse.se/butik  Nils")*

Could you try to add the code Code:

&lt;INPUT TYPE="hidden" name="charset" value="utf-8"&gt;

in the file plugins/paypal/paypal_end.php inside of the form tags and try again ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0NjMtbWFpbC1mdW5jdGlvbi1iZWZvcmUtcmVkaXJlY3QtdG8tcGF5cGFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 10 months ago [\#3577](#3577) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Mail function before redirect to Paypal](/forum/4-how-to/3463-mail-function-before-redirect-to-paypal#3577 "Hi,  When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says &quot;mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.  Could this be a bug?  Here's the shop:   varelse.se/butik  Nils")*

That solves it!

Will this be included in future upgrades?

---

Hikashop Essential 1.4.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0NjMtbWFpbC1mdW5jdGlvbi1iZWZvcmUtcmVkaXJlY3QtdG8tcGF5cGFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 10 months ago [\#3579](#3579) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Mail function before redirect to Paypal](/forum/4-how-to/3463-mail-function-before-redirect-to-paypal#3579 "Hi,  When you place the order and when the screen that says you are being redirected to Paypal is showing I get a message that says &quot;mail function could not be instantiated (translated from swedish). There is no problem with the mail function elsewhere and the order confirmation mail is sent ok.  Could this be a bug?  Here's the shop:   varelse.se/butik  Nils")*

Yes. That sounds like a nice improvement

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0NjMtbWFpbC1mdW5jdGlvbi1iZWZvcmUtcmVkaXJlY3QtdG8tcGF5cGFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.308 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
