[SOLVED]Custom Payment Plugin Displays Blank Screen On Confirm

Started by IceMan-101, August 29, 2012, 17:11:34 PM

Previous topic - Next topic

IceMan-101

Hi,

I even tried to convert the result set I get from my web service call, mb_convert_encoding($wsdl_result, 'UTF-8'); and stil not working.
Master of Web disaster!

IceMan-101

Hi There,

Here is an update.

When i change the value of $order['customer_notified'] = 1 from 1 to 0, it works. So there must be an issue with the mail script.

Any help would be greatly appreciated.
Master of Web disaster!

alatak

Hello,

Have you configure the safe path correctly?
Go in the VM configuration > Templates and check this parameter
Safe Path

IceMan-101

Hi,

I have checked and used the suggested path that VM gave me.
Master of Web disaster!

alatak

Hello,

and when you use another payment method, then you receive the email? Everyrthing is fine?

IceMan-101

Hi,

Yes, that is correct. When i use the standard payment method everything works correctly and the emails get sent out. It is only when I make use of the custom payment method that is based on the standard payment method, that I get this problem that the emails are sending out but I get a blank screen.

I turned on error reporting in my php script and got the follow error: Fatal Error, memory limit exceeded.

So what i did is, asked my hosting company to increase the memory limit on the domain.

I did test again and the problem was resolved.

Everything is working now.

Thanks for your help.
Master of Web disaster!

alatak

Hello,

Ok, so it is the nusoap library that required more memory.
Good to know. :)
It was increased from to how much?

IceMan-101

Hi,

Yes, it is NuSOAP that used a lot of memory during the call to the web service.

The memory limit on the server was 8Mb and was increased to its highest value on the server of 64Mb.

Master of Web disaster!