Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Pass cbt variable to Paypal
 
stacelynn
Jr. Member
 
Total Posts:  7
Joined:  2008-05-21
 

Hi

Can’t seem to find the correct file that passes variables (address, etc) to paypal so that I can add a cbt variable… can anyone point me there?

thx

 
Magento Community Magento Community
Magento Community
Magento Community
 
stacelynn
Jr. Member
 
Total Posts:  7
Joined:  2008-05-21
 

found it:

app >> code >> core >> mage >> paypal >> model >> standard.php

added

'cbt'    => "CLICK HERE TO COMPLETE YOUR TRANSACTION",

under

'zip'     => $a->getPostcode(),

If anyone’s wondering why it was so important, it has to do with triggering my affiliate tracking code on the order complete page. If the customer doesn’t return to the store after using paypal, the trigger won’t happen and my affiliates don’t get credit.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sahilbrewari
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2010-01-04
Mumbai, India
 

Where can this be found in 1.4.1.1?

Best Wishes,
Sahil B. Rewari

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top