Click to See Complete Forum and Search --> : Paypal - how to use more than 2 fields.


higlasgow
07-07-2007, 04:35 PM
Hi,

I want to use Paypal on my online shopping cart, but paypal support maximum 2 fields. I want to get more data from customers and want to use 2 drop-down and 2 text fields with paypal.

OR

Can I use my own 2 drop down and 2 text fields, and can merge 4 fields values into one field, and then I will send this field value to paypal.

Please help me that how can I do this in frontpage.

Regards

bolty2uk
07-08-2007, 01:24 AM
The values paypal want sent there way to proccess a transaction are here.
IntegrationCenter (https://www.paypal.com/IntegrationCenter/ic_std-variable-reference.html)

As you have said they will only receive two values i'm guessing you are using another process altogether.?

felgall
07-08-2007, 02:31 AM
Simply store the extra information in a database before calling Paypal and pass the record identifier for that database record in one of the fields Paypal provides. At the other end use the field passed through Paypal to retrieve the rest back out of the database.

bwdski
07-13-2007, 10:22 PM
Simply store the extra information in a database before calling Paypal and pass the record identifier for that database record in one of the fields Paypal provides. At the other end use the field passed through Paypal to retrieve the rest back out of the database.

could you explain more about this please?

felgall
07-14-2007, 06:51 PM
Collect all of the information that you need to and store it in a database using a generated value as the key. The purchaser can therefore enter as much detail as you require and that information is all stored in the database with the single generated key value that identifies that particular visitor for this particular purchase. When you call Paypal to process the payment you pass the generated key through with the payment details. This key represents all of the information stored in the database for that key value.

After the payment is processed you can then do a database lookup using the key value passed through paypal and retrieve the dozens or hundreds of fields that you require from the database.

You can even use the generated key as the invoice number you pass to paypal and not use any of the custom fields at all.

bwdski
07-14-2007, 07:00 PM
Collect all of the information that you need to and store it in a database using a generated value as the key. The purchaser can therefore enter as much detail as you require and that information is all stored in the database with the single generated key value that identifies that particular visitor for this particular purchase. When you call Paypal to process the payment you pass the generated key through with the payment details. This key represents all of the information stored in the database for that key value.

After the payment is processed you can then do a database lookup using the key value passed through paypal and retrieve the dozens or hundreds of fields that you require from the database.

You can even use the generated key as the invoice number you pass to paypal and not use any of the custom fields at all.

thanks for that explanation.
Very clear and easy to understand...

Now... to implement it...

Thanks again

have you seen my thread?
http://www.webdeveloper.com/forum/showthread.php?p=777749#post777749