DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • June 16, 2019, 01:34:23 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Donate On Behalf : File Submission/Discussion  (Read 3258 times)
0 Members and 1 Guest are viewing this topic.
Aeolus
Mod God
*****
Offline Offline

Posts: 1932


You're welcome.


View Profile WWW
« on: June 16, 2013, 10:51:17 PM »

Name: Donate On Behalf
Author: Aeolus
Version: 1.0.3
Category: Donation
Compatible: Tested and used on 1.1.2 (should work on any 1.x.x)

Description:
A module that adds a PayPal image at the footer of everyone's bio, allowing you to donate on behalf of them. Your donation will be entered into the Pay Log under your name, but the receive will receive the donation points and a system mail, notifying them on your donation for them.

README included.

Suggestions, ideas and bugs are welcome.

Note: Version 1.0.3 is only different from Version 1.0 with slight error fixes, and changes in the PHP headers.
« Last Edit: January 26, 2014, 06:41:32 PM by The Doctor » Logged

Aeolus
Mod God
*****
Offline Offline

Posts: 1932


You're welcome.


View Profile WWW
« Reply #1 on: October 15, 2013, 03:32:29 AM »

Note: Version 1.0.1 has been updated so that the HTTP headers are now HTTP 1.1, instead of the old HTTP 1.0, due to changes in PayPal's services.
Logged

Megan|SaraBeth
Mod God
*****
Offline Offline

Posts: 1065



View Profile WWW
« Reply #2 on: November 23, 2013, 08:43:58 PM »

It works as such. I got the notification in my paypal account. It just doesnt put it in the payment log and send the player donated for, the points...


EDIT:
Archex:Lorelai:the-complex.net/bio.php?char=Archex&ret=%2Fvillage.php%3Fc%3D366-135755

That link right there is the item number on paypal when you view the transaction. First name is one to receive points second name is who paid.

The following is a link from a player clicking donate while on the list of warriors

Vesper:the-complex.net/list.php?c=219-143954


I think the reason its not appearing in the payment log and sending out the points is because its confused as to which character to put and send them too.
« Last Edit: November 23, 2013, 08:55:45 PM by Megan|SaraBeth » Logged

Aeolus
Mod God
*****
Offline Offline

Posts: 1932


You're welcome.


View Profile WWW
« Reply #3 on: January 01, 2014, 04:40:26 PM »

If you ran that in RawPHP, with $item_number = "Archex:Lorelai:the-complex.net/bio.php?char=Archex&ret=%2Fvillage.php%3Fc%3D366-135755" before it, then printed $acctid_o and $acctid_d, what do you get?

I'm guessing you never did this?

There was an issue the the preg_replace(). Which is strange, since I used the core's code. However, this has been replaced, fixed, and verified, since a player on my site just donated on behalf of other players, and it worked - this is Version 1.0.2.
Logged

Aeolus
Mod God
*****
Offline Offline

Posts: 1932


You're welcome.


View Profile WWW
« Reply #4 on: January 26, 2014, 06:43:47 PM »

Version 1.0.3:

Fixes in the PHP PayPal headers once more, to comply with PayPal's changes of services.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
35 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search