Support

Home Forums Event Espresso Premium How to change the variable values sent to 2Checkout

How to change the variable values sent to 2Checkout

Posted: March 3, 2014 at 11:27 am

Viewing 2 reply threads


Carolyn

March 3, 2014 at 11:27 am

Hello,

We are setting up to open registration for our workshop using 2Checkout. Currently the person that registers gets three emails: two from EE and one from 2Checkout that is generated by the variable values sent from EE according to the IT folks at 2CO. Below is a copy of a sandbox registration sales receipt:

Contents of your purchase :
Cart ID : 30
Vendor Product ID : 30
Product Description : Vendor site cart purchase: Cart id 30
Product Name : Cart purchase: 30
Quantity : 1

Vendor Product ID : c_prod_1
Product Name : Regular Registration
Quantity : 1

Total : 620.00 ( USD )

None of this will make sense to the person who registered. How do we change what is sent to 2Checkout so that these variables produce readable values?

Contents of your purchase :
Cart ID : 30 (not sure why the participant needs this info)
Vendor Product ID : 30 (not sure why the participant needs this info)
Product Description : Vendor site cart purchase: Cart id 30 (not sure why the participant needs this info)
Product Name : Cart purchase: 30 (not sure why the participant needs this info)
Quantity : 1

Vendor Product ID : c_prod_1 (change here)
Product Name : Regular Registration
Quantity : 1

We would like these to show as words that have meaning, including the name of the person who registered, since it may be different from the name of the person who paid.

At the least, where are these variables defined, and what php file pulls them? I would hope to do this without resorting to editing the php files…we basically want it to be a meaningful receipt.

Thank you,
Carolyn


Carolyn

March 3, 2014 at 1:12 pm

BTW
Wordpress v. 3.7.1
Add ons:
EE v 3.1.36.4.P
Google site map v 2.8.3
Mailchimp for WordPress Lite v 1.4.8
Metaslider 2.5.1
WP Google maps 5.21
Attitude Pro v 1.2


Dean

March 4, 2014 at 3:48 am

Hi,

First of all, please bear in mind you sent a test payment so some of the information may not be what the client sees.

We have put forward the data that 2Checkout requests. If you wish to modify this data, you can do so via event-espresso/gateways/2checkout/2checkout_vars.php

However, this is at your OWN RISK and we cannot support modifications to the gateway.

Please note that 2checkout confirm that modifying the email confirmation is, in general, not possible – http://help.2checkout.com/articles/FAQ/Can-I-edit-the-email-confirmation/?q=email&l=en_US&fs=Search&pn=1

Viewing 2 reply threads

The support post ‘How to change the variable values sent to 2Checkout’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso