Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Change the PayPal Order Name?
#1
Sad 
Hello everyone I wonder how I modify the Order of THT when the Customer will pay the paypal and appears:
THT Order: Your current hosting pac ....
I want to change it
I've changed the name of the site but no good
I've read the post: http://thehostingtool.com/forum/thread-1294.html
But I could not
SOMEBODY HELP ME!HuhHuhHuhHuhHuh
Reply
#2
I'm kinda confused by your wording. If you are trying to change something on the paypal invoice. You need to do that on paypal's website. If your referring to the title just as in the other post.. the answer there applies.
[Image: sig.png]
Reply
#3
The invoice information is taken from your paypal account information and therefore you need to change it first and then your invoice will look like you need it. Smile
Reply
#4
I need to change the word: "THT ORDER"
Reply
#5
You have to edit class_invoice.php found in includes. Open the php file in any editor and find "THT ORDER" and change it to your site name. Don't edit anything else.
Reply
#6
This will look like this:

Quote: if($_SESSION['cuser'] == $array['uid']) {
$paypal->paypal_url = 'https://www.paypal.com/cgi-bin/webscr';
$paypal->add_field('business', $db->config('paypalemail'));
$paypal->add_field('return', $db->config('url')."client/index.php?page=invoices&invoiceID=".$iid);
$paypal->add_field('cancel_return', $db->config('url')."client/index.php?page=invoices&invoiceID=".$iid);
$paypal->add_field('notify_url', $db->config('url')."client/index.php?page=invoices&invoiceID=".$iid);
$paypal->add_field('item_name', 'THT Order: '.$array['notes']);
$paypal->add_field('amount', $array['amount']);
$paypal->add_field('currency_code', $db->config("currency"));
$paypal->submit_paypal_post(); // submit the fields to paypal
}
Thanks for reading my post guys!
EddiesLife247 - YouTube Producer - THT Support Team
WEB: http://eddieslife247.co.uk/

Supporting TheHostingTool Community!

Need help, i don't mind pms but please post support questions in the general support board.
Reply
#7
Thanks for your great post
Reply
#8
You need to do that on paypal's website.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)