Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shipping address only when credit card payment option chosen


Paulz

Recommended Posts

I would like to make the delivery address == to the billing address compulsory only when the user chooses the credit card payment option in checkout_payment.php. (not for the other payment options)

 

would it be possible to implement a javascript_validation similar to the warning box that appears when no payment method has been selected:

 

(something similar to this) eg:

###########################

# Warning: Your delivery address must

# be the same as your billing address to

# pay by credit card. Please change

# delivery address or select an

# alternative payment method to use

# this delivery address.....

###########################

 

possibly by using something similar to

billto == sendto there is a good example here:

http://www.oscommerce.com/forums/viewtopic.php...billing+address

 

but this effects all the payment options and i just need it for the credit card option?

 

Can Anyone Help?

 

p.s I believe that this is a good option for fighting fraud by avoiding

bogus delivery addresses but at the same time giving alternative payment methods for those who want them delivered elswhere! ie cheque, postal order etc etc

Link to comment
Share on other sites

I thought this was a serious issue that would effect alot of companies?

is credit card fraud not as big a problem as i was led to believe?

 

nobody interested??? :shock: :?: :shock:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...