Paypal error

chrepair

No avatar

2006-10-17 00:08

Hello again all.
I was reading about the paypal plug in and how to do it. I effectively got it to work but my HTMLMAIL will nto send now. I read the post about changing something aroung and then it will work again but this did not fix the problem...it made it worse.
Can someone point me in te directino of the psot or help me with getting the html mail to send again?
Thaks.

To error is human and I am 100% human.

Jo

No avatar

2006-10-17 10:49

This is the thread to read:

http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=2530

------------------------
From wizzud - in plugins/htmlMailOrderDetails/actions_client.php change

if(extendedTplParser() && $oMail->isSetIntercept() === false)
$oMail->setInterceptID( $tpl->newIntercept('messages.tpl', 'messages.tpl', 'ORDER_SAVED', 'ORDER_SAVED', 'sendHtmlMailDetails', '') );

to

if(extendedTplParser() && $oMail->isSetIntercept() === false){
$oMail->setInterceptID( $tpl->newIntercept('messages.tpl', 'messages.tpl', 'ORDER_SAVED', 'ORDER_SAVED', 'sendHtmlMailDetails', '') );
$oMail->setInterceptID( $tpl->newIntercept('messages.tpl', 'messages.tpl', 'ORDER_PAYPAL', 'ORDER_PAYPAL', 'sendHtmlMailDetails', '') );
}

This adds an extra intercept so that both the non-Paypal and the Paypal orders should result in emails being constructed. That's the theory anyway!
Please be warned that this is untested!

---------------------------

Worked for me.

idaryl

Avatar: idaryl

2006-11-15 02:45

I have a problem going on here - [Plugin Manager v2.0 and QuickCart 1.4 english version] after reading forum http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=2530 about getting htmlMailOrderDetails working with the paypal integration - http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=3142 and noticed that even though the paypal feature worked QC did not send either the receipt, or the notice to the admin - yes, its turned on in the admin area.

Then I find this: http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=3046 about how paypal "it bypasses the 'Order Saved' message on which the intercept for the email is triggered" .... so I try it, and it kills the cart!!!

If I add this line to plugins/htmlMailOrderDetails/actions_client.php
:$oMail->setInterceptID( $tpl->newIntercept('messages.tpl', 'messages.tpl', 'ORDER_PAYPAL', 'O RDER_PAYPAL', 'sendHtmlMailDetails', '') );
}
the cart completely disappears and the page is blank - once removed back to orig the cart works again....

however, the dilemma still remains, even if I remove ALL the paypal integration, the htmlMailOrderDetails works fine as it supposed to, and with paypal integrated, yes, works as well.

So, according to Gunfighter the extendedTplParser - how to use, works, but I'm getting blanks (sorry for the pun - gunfighter)

Back to top
about us | contact