Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

adding message with payment failed error code

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-06-2006, 12:13 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default adding message with payment failed error code

Im not sure on how to do this one so any pointers would be appreciated.

Basically we use protx vspdirect on our site which enables us to take the card details on our site which then gets pushed to protx securley.
On the occasion that a payment fails the customer is returned to our site and a error code and message is shown for example

Code:
Reason: Status: Authorisation declined by bank. - Message : DECLINED (NOTAUTHED) (AVS/CVV2: {ALL MATCH}) CVV info: 3 digit(s) /

what I need to do is add a little message underneath saying

Code:
"if this is your second failed attempt at payment please consider using the pay via paypal option, on rare occasions there may be a glitch with normal credit card transactions and you can now use paypal with your normal credit/debit card without the need for a paypal account, if your payment also fails with paypal please contact your card issuing bank"
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #2  
Old 07-10-2006, 12:30 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default

Hi,

All I did for mine regarding extra instructions, was edit the err_payment_declined_order to read:

Quote:
Order processing error !


The payment processor has declined your order. Likely reasons include an incorrect expiry date or incorrect CVV2 number -please go back and double check these before submitting again.



That's the easy way!

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote
  #3  
Old 07-10-2006, 07:05 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default

err_payment_declined_order

is this a .tpl file or a language entry? If a file, where is it?
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #4  
Old 07-10-2006, 07:08 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default

Hi,

It's under languages and then "errors" in my version.

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote
  #5  
Old 07-10-2006, 07:47 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default

Got it - thanks - the only catagory I didn't check...
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:55 PM.

   

 
X-Cart forums © 2001-2020