Mail function before redirect to Paypal

  • Posts: 23
  • Thank you received: 0
13 years 4 months ago #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 "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


Hikashop Essential 1.4.0

Please Log in or Create an account to join the conversation.

  • Posts: 81597
  • Thank you received: 13080
  • MODERATOR
13 years 4 months ago #3468

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 :)

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
13 years 4 months ago #3547

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 or Create an account to join the conversation.

  • Posts: 81597
  • Thank you received: 13080
  • MODERATOR
13 years 4 months ago #3549

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

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
13 years 4 months ago #3551

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 or Create an account to join the conversation.

  • Posts: 81597
  • Thank you received: 13080
  • MODERATOR
13 years 4 months ago #3553

Could you try to add the code

<INPUT TYPE="hidden" name="charset" value="utf-8">
in the file plugins/paypal/paypal_end.php inside of the form tags and try again ?

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
13 years 4 months ago #3577

That solves it!

Will this be included in future upgrades?


Hikashop Essential 1.4.0

Please Log in or Create an account to join the conversation.

  • Posts: 81597
  • Thank you received: 13080
  • MODERATOR
13 years 4 months ago #3579

Yes. That sounds like a nice improvement

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum