VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: cinos on January 12, 2009, 17:43:11 PM

Title: Location of the Paypal Pending error message
Post by: cinos on January 12, 2009, 17:43:11 PM
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?
Title: Re: Location of the Paypal Pending error message
Post by: angek on January 29, 2009, 02:40:09 AM
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
    
?>