Customer notes field
-
Hi I was unable to get the customer notes field to show up when using the WP simple paypal shopping cart plugin. A few hours on the phone with paypal support and one tier two ticket later the issue was tracked down. The WP SPSC plugin is still coded to use the “no_note” and “cn” variables, these variables have been depreciated and are no longer valid. Payapl now only accepts the “on0” and “os0″ variables.
Here is an example the tech gave me (<input type=”hidden” name=”on0″ value=”Special Note”>Special Note: </td></tr><tr><td><input type=”text” name=”os0″ maxlength=”200″></td></tr>)
Will the plugin be updated to use the new variables?
I attempted to update my installed copy, but i am unsure how to make it work with the variable “. $wp_cart_note_to_seller_text .”.
Here is the line that i replaced, it shows “Special Note:” next to the checkout button with a small text box below it.
$output .= ‘<input type=”hidden” name=”on0″ value=”Special Note” />Special Note: </td></tr><tr><td><input type=”text” name=”os0″ maxlength=”200″></td></tr> value=”‘ . $wp_cart_note_to_seller_text . ‘” />’;Original line
$output .= ‘<input type=”hidden” name=”no_note” value=”0″ /><input type=”hidden” name=”cn” value=”‘ . $wp_cart_note_to_seller_text . ‘” />’;Depreciated variables:
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#deprecated-variablesNew Variables:
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HF080O3
- The topic ‘Customer notes field’ is closed to new replies.