php order page to refresh for check order when radio buttoni
Posted: Wed Apr 21, 2004 11:06 am
Does any one have input on the most effective way to accomplish the following:
I have an order page that by default is set to capture credit card order.
It is a php page that tracks product info, prices etc.
I am wanting to incorporate the ability for the consumer to pay by echeck.
So I have placed a radio button on the top and if selected reload the php order page and if the php order page detects that the pay by check button was selected present order page with check capturing fields instead of credit card fields.
The reload is working, however for some reason the detection of the pay by check radio button press is not working.
I have tried $_GET["paymentmetod"], etc . which is the name of the radio button.
I want to detect if radio button was selected and reload/refresh page with paybycheck form instead of pay by credit card maintaining product info.
Thanks
I have an order page that by default is set to capture credit card order.
It is a php page that tracks product info, prices etc.
I am wanting to incorporate the ability for the consumer to pay by echeck.
So I have placed a radio button on the top and if selected reload the php order page and if the php order page detects that the pay by check button was selected present order page with check capturing fields instead of credit card fields.
The reload is working, however for some reason the detection of the pay by check radio button press is not working.
I have tried $_GET["paymentmetod"], etc . which is the name of the radio button.
I want to detect if radio button was selected and reload/refresh page with paybycheck form instead of pay by credit card maintaining product info.
Thanks