Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal and Text Fields


salesman1

Recommended Posts

I've installed the PayPal_Shopping_Cart_IPN_v2.8 and the option_type_feature_v1.6. I have a text field on one of the productions. When I pay by check, I get the value for the text field in the order information. However, when I pay using Paypal and a credit card, the value is messing and is set to TEXT in all capital letters. Does anyone know why it drops the values for the text fields when you use Paypal?

 

Thanks,

 

salesman1 :(

Link to comment
Share on other sites

I've installed the PayPal_Shopping_Cart_IPN_v2.8 and the option_type_feature_v1.6. I have a text field on one of the productions. When I pay by check, I get the value for the text field in the order information. However, when I pay using Paypal and a credit card, the value is messing and is set to TEXT in all capital letters. Does anyone know why it drops the values for the text fields when you use Paypal?

 

Thanks,

 

salesman1 :(

 

I found the problem. It appears that the paypal module doesn't quite work with the contribution that uses TEXT fields. In the checkout_process.inc.php file, you need to replace the line of 'products_options_values' => $attributes_values['products_options_values_name'], with the line 'products_options_values' => $order->products[$i]['attributes'][$j]['value'] to make it work.

 

Hope this helps someone as I spent quite awhile trying to track this down.

 

salesman1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...