PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Change Product Name For Paypal - SKU?

  1. I'd like to create an item SKU essentially (For example ITM-1) for a product name (for example Black Shoes) so that when the processing goes to paypal the customer sees "black shoes" but paypal and myself see "ITM-1" - how can I do this?

    Thanks in advance

    Posted 9 years ago on Tuesday February 12, 2013 | Permalink
  2. When you define your products, can you use the value for for ITM-1 and the label for "black shoes"?

    Posted 9 years ago on Wednesday February 13, 2013 | Permalink
  3. Hey Chris - do you mean use ITM-1 in the admin label field and then "black shoes" in the field label?

    Posted 9 years ago on Wednesday February 13, 2013 | Permalink
  4. I think we're talking about the same thing. When you configure a product, you have a Label, a Value and a Price. Make the Label "black shoes" and the Value "ITM-1" and when it's sent to PayPal, the transaction there will say "black shoes" but your entry will say "ITM-1". The notifications (admin and user) will say "black shoes" by default.

    Please see these screenshots: http://minus.com/mX1fDOO9OilPx

    The form is located here: http://gravity.chrishajer.com/purchase-a-baseball-bat/

    I don't think the checkout will work (since this is not a live transaction), but you can see what PayPal will see when the visitor is directed there.

    Posted 9 years ago on Wednesday February 13, 2013 | Permalink
  5. Hey Chris - you know whats odd, I dont have those fields in my product section.

    My product properties page (im using a single product type) only shows field label and price. In the advanced tab I have an admin label.

    Is it because im not using the dropdown to select the type of product? And I'd want the customer to see "black shoes" when using the form but I want paypal to see ITM-1 when the transaction comes to them....does that make sense?

    Posted 9 years ago on Wednesday February 13, 2013 | Permalink
  6. It is because you're using a single product. You will have the option to set a label and a value separately if you use radio buttons or drop down. However, you can change the information which is sent to PayPal by using the gform_paypal_query filter: http://www.gravityhelp.com/documentation/page/Gform_paypal_query

    Would that work for you?

    Posted 9 years ago on Thursday February 14, 2013 | Permalink
  7. Definitely....im comfortable with php but I dont know how to format the string to have it change the label - would you be able to help me out with an example?

    Also, for some reason, im not getting any emails when this thread is updated except for the first one - is that normal?

    Posted 9 years ago on Friday February 15, 2013 | Permalink
  8. @Matt, the email notification of new replies in the forum software we use, bbPress, is flaky sometimes. Sorry about that.

    The best examples for code are posted in related topics here:
    http://www.gravityhelp.com/forums/tags/gform_paypal_query

    Look at the code posted by Dana Cobb in two replies in that topic.

    The code example on the documentation page is far more complex than you need.

    Posted 9 years ago on Saturday February 16, 2013 | Permalink
  9. Thanks Chris for your help!

    Posted 9 years ago on Saturday February 16, 2013 | Permalink
  10. Sure thing. Let us know if you need more assistance.

    Posted 9 years ago on Saturday February 16, 2013 | Permalink