![]() |
Add extra info to the PayPal Subscription Email
1 Attachment(s)
There was a previous mod that I used on my forum that added the UserName and UserId to the PayPal email that was sent. I found this information useful if I needed to check anything with a subscription.
https://vborg.vbsupport.ru/showthread.php?t=99421 All credit to Luroca the original contributor. I recently upgraded from 3.8 to 4.1 and wanted the same functionality and this simple mod hadn't yet been release anywhere so I set about working out the changes that I needed to make in the new vB4 template system. Before: Site Sponsor Subscription Item Number 0c8cbc5d1bc869922341c3fbb37767a9 14.00 EUR After: Site Sponsor Subscription of TestUser (1125) Item Number 0c8cbc5d1bc869922341c3fbb37767a9 14.00 EUR So after the type of subscription the UserName and the UserId are appended. In the Subscriptions (Paid) Templates group find the subscription_payment_paypal template. Find the line: Code:
<input type="hidden" name="item_name" value="{vb:rawphrase x_subscription, {vb:raw subinfo.title}}" /> Code:
<input type="hidden" name="item_name" value="{vb:rawphrase x_subscription, {vb:raw subinfo.title}} of {vb:raw userinfo.username} ({vb:raw userinfo.userid})" /> |
Thank you :)
|
Brilliant. Ive been looking for this. Now just wait till a buyer pops up to test it. :):up:
|
Just as a preliminary confidence check for you Davey, I can confirm that this is working correctly in 4.1.4. Here's one from yesterday :
22. Jun 2011 07:40:42 PDT Transaction ID: xxxxxxxxxxxxxxxxxx Hello xxxxxxxxxxx, You received a payment of €xxxx EUR from xxxx xxxxxxxx (xxxxx.xxxxxxxxxx@yahoo.com) You can now ship any items. To see all the transaction details, log in to your PayPal account. It may take a few moments for this transaction to appear in your account. Seller Protection - Not Eligible -------------------------------------------------------------------------------- Buyer xxxxxx xxxxxxxxx xxxxx.xxxxxxxxxx@yahoo.com Instructions to merchant The buyer hasn't entered any instructions. Full Member Subscription of xxxxxxx (1331) Item# xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxx EUR 1 xxxx EUR Subtotal xxxx EUR Total €xxxx EUR Payment €xxxx EUR Payment sent to yyyy.yyyyyyy@yyyyyy.com |
Has anyone had a problem with this breaking the PayPal acknowledgement of payments vBulletin routine?
Thanks for any feedback ... :) Regards, Doug |
Quote:
|
Thank you
|
I actually stumbled upon this. Thanks a lot. It's very helpful when dealing with Paypal complaints.
|
All times are GMT. The time now is 09:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|