News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Location of the Paypal Pending error message

Started by cinos, January 12, 2009, 17:43:11 PM

Previous topic - Next topic

cinos

Would anyone be able to tell me where the message:

"An error occured while processing your transaction. The status of your order could not be updated."

and the respective red cross are located?

I've just realised that if someone returns to my site after paying with paypal too quickly then they might get back ahead of the automatic order update (notify.php). Thus displaying the message above, and causing them undue panic.

To avoid this I basically want to change the cross to a tick and edit the message to say something more appropriate. Along the lines of the order is awaiting confirmation or something similar.

Anyone know where I should go for this?

angek

the error message is defined in administrator/components/com_virtuemart/languages/checkout/english.php.
'PHPSHOP_PAYPAL_ERROR' => 'An error occured while processing your transaction. The status of your order could not be updated.',
this is outputted by administrator/components/com_virtuemart/html/checkout.result.php
else { ?>
        <img src="<?php echo VM_THEMEURL ?>images/button_cancel.png" align="middle" alt="<?php echo $VM_LANG->_('VM_CHECKOUT_FAILURE'); ?>" border="0" />
        <span class="message"><?php echo $VM_LANG->_('PHPSHOP_PAYPAL_ERROR'?></span>
   
    <?php
    
?>