mse313
03-30-2005, 07:22 PM
:confused: I'm trying to develop a module that can take an order where payment is made thru their PayPal company. Like using a credit card. You get pre-approved thru paypal to use your charge card to buy.
My problem is PayPal requests you use their html developer program to write the html code because they use certain field names and special entry points into their payment system. The developer software puts all their required code in place for you.
The problem is, if a customer wants to but a shirts or pants, etc. that comes in different sizes but not all manufactures have the same colors, shirt material, etc for all sizes. Ie: if I wanted to buy a Navy shirt in size Extra Large the price is $15.00, the style number would be "1234N" and the manufacture would be "ABC Co".
BUT if I wanted to buy a Navy Shirt in size 3XL the price is $21.50, the style number is different and the manufacture is different because the first manufacture doesn't make 3XL shirts. Also the first manufacture may make 3XL shirts BUT not Navy. Html doesn't handle this type of problem because the developer program and html is limited.
I'm looking for a static lookup routine where I know the size (ie: 2XL), then lookup the sytle, the price, the manufacture then put those table values based on the shirt size into the code_field_names to pass to PayPal. PayPal is the one who generates the invoice to the buyer and collects the money.
Any help I can get in solving this problem would be :D greatly appreciated. A couple on other people looked at the html coding and have stated :( I need a JavaScript routine to solve the limits of html.
My problem is PayPal requests you use their html developer program to write the html code because they use certain field names and special entry points into their payment system. The developer software puts all their required code in place for you.
The problem is, if a customer wants to but a shirts or pants, etc. that comes in different sizes but not all manufactures have the same colors, shirt material, etc for all sizes. Ie: if I wanted to buy a Navy shirt in size Extra Large the price is $15.00, the style number would be "1234N" and the manufacture would be "ABC Co".
BUT if I wanted to buy a Navy Shirt in size 3XL the price is $21.50, the style number is different and the manufacture is different because the first manufacture doesn't make 3XL shirts. Also the first manufacture may make 3XL shirts BUT not Navy. Html doesn't handle this type of problem because the developer program and html is limited.
I'm looking for a static lookup routine where I know the size (ie: 2XL), then lookup the sytle, the price, the manufacture then put those table values based on the shirt size into the code_field_names to pass to PayPal. PayPal is the one who generates the invoice to the buyer and collects the money.
Any help I can get in solving this problem would be :D greatly appreciated. A couple on other people looked at the html coding and have stated :( I need a JavaScript routine to solve the limits of html.