Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shipping address only when credit card payment option chosen


Paulz

Recommended Posts

Posted

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

Posted

Can anyone help me with this or give any alternative

suggestions to my problem.

 

It would be greatly appreciated :(

Posted

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:

Posted

I've done something similar to what you're talking about but its pretty complicated.

 

I did it all via select statements and php though. Contact me via email if you want: [email protected]

Archived

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

×
×
  • Create New...