Hello: working on getting paypal integrated. Two questions. I added in the sign-up form a radio button selection field with several options. There is an internal value to each one of those fields( i.e. 1,2,3, or 4). I need this new field value to map to the paypal item number based on which one the user selected. Is there an easy way to do this ? Seconf question -- once the user gets through paypal, is there a way to log them in automatically into the members-only section ? or must they enter in their new username & password again . thanks.
in the paypal plugin I found this line: 'item_number' => $product_id, So I'll try and edit that to my new field... any other place where I should be looking ?
It's all, you don't need to edit anymore. Regarding automatic login, unfortunately, it is impossible.
thanks alex: somehow I edited that line but it's coming in blank to paypal everytime. I verified that field name - anything else to check ? and besides turning payapl into test mode, any way to see what the signup page is about to send to paypal before I actually complete a paypal transaction ? the field is an added custom field and I used "common" not SQL as the method. thanks.
could you paste changed code here? To be honest, I don't understand what you did and main question - FOR WHAT?
sure The line I changed was the second one: PHP: 'item_name' => $product->config['title'], 'item_number' => $membership_code, And that membership_code is a new field I added which is a radio button. Basically, I could create new products, but would prefer to simply map this new membership_code field to the paypal item_number . My suspicion, is that I need to add this new code into the array that is calling out the fields --- but I'm not sure ... thanks.
must be : PHP: 'item_name' => $product->config['title'], 'item_number' => $member['data']['membership_code'],