[CDB] PayPal Donation Extension aka PPDE

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
rrbailey89
Registered User
Posts: 248
Joined: Fri Oct 24, 2014 3:00 pm

Re: [DEV] PayPal Donation Extension aka PPDE

Post by rrbailey89 »

rrbailey89 wrote:Should sandbox tests show in the transaction log?
Skouat wrote:yes. If not, PayPal is not configured as expected (IPN is not enabled, Account is not set as bussiness)
I was testing using a sandbox email at developers.PayPal ... Hope should this be configured to properly test?
Skouat
Code Contributor
Posts: 881
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: [DEV] PayPal Donation Extension aka PPDE

Post by Skouat »

There is two ways to simulate a PayPal Transaction.
rrbailey89
Registered User
Posts: 248
Joined: Fri Oct 24, 2014 3:00 pm

Re: [DEV] PayPal Donation Extension aka PPDE

Post by rrbailey89 »

Will this extension automatically update the ammount raised?
Skouat
Code Contributor
Posts: 881
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: [DEV] PayPal Donation Extension aka PPDE

Post by Skouat »

Only if you enable the PayPal IPN feature and you use the "develop" branch of this extension.
edrimon
Registered User
Posts: 49
Joined: Tue Jul 15, 2014 12:20 pm

Re: [DEV] PayPal Donation Extension aka PPDE

Post by edrimon »

When clicking the link, I get :
The requested URL /app.php/donation was not found on this server.

why is that?
Skouat
Code Contributor
Posts: 881
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: [DEV] PayPal Donation Extension aka PPDE

Post by Skouat »

edrimon wrote:why is that?
Because this is not my extension? :roll:
viewtopic.php?f=456&t=2309891&start=105#p14406331
joe92
Registered User
Posts: 51
Joined: Sun Oct 04, 2015 1:04 pm

Re: [DEV] PayPal Donation Extension aka PPDE

Post by joe92 »

what is the app.php file paypal extension ask for it and have an error 500 when I click on donate
message: The requested URL /app.php/donate was not found on this server.
Skouat
Code Contributor
Posts: 881
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: [DEV] PayPal Donation Extension aka PPDE

Post by Skouat »

Skouat wrote:
joe92 wrote:after update a phpBB v3.1.8 i get an error 500
Please, could you check the error.log of your webserver?
;)
joe92
Registered User
Posts: 51
Joined: Sun Oct 04, 2015 1:04 pm

Re: [DEV] PayPal Donation Extension aka PPDE

Post by joe92 »

Skouat wrote:
Skouat wrote:
joe92 wrote:after update a phpBB v3.1.8 i get an error 500
Please, could you check the error.log of your webserver?
;)
sorry bro :) I have no access to the server to read the log the forum is hosted on a free hosting
Skouat
Code Contributor
Posts: 881
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: [DEV] PayPal Donation Extension aka PPDE

Post by Skouat »

What is your board url?
joe92
Registered User
Posts: 51
Joined: Sun Oct 04, 2015 1:04 pm

Re: [DEV] PayPal Donation Extension aka PPDE

Post by joe92 »

Skouat wrote:What is your board url?
solved i have edited this in vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php

open Response.php and search
header($name.': '.$value, false, $this->statusCode);

change false a true save and enjoy
User avatar
spaceace
Registered User
Posts: 1990
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [DEV] PayPal Donation Extension aka PPDE

Post by spaceace »

joe92 wrote:
Skouat wrote:What is your board url?
solved i have edited this in vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php

open Response.php and search
header($name.': '.$value, false, $this->statusCode);

change false a true save and enjoy
this seems to be a growing issue that this file edit seems to fix extensions on more and more boards :?
Skouat
Code Contributor
Posts: 881
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: [DEV] PayPal Donation Extension aka PPDE

Post by Skouat »

@joe92:
Please, can you revert your change and apply the following fix?
https://github.com/phpbb/phpbb/pull/420 ... 17bc04e122
Skouat
Code Contributor
Posts: 881
Joined: Mon Mar 10, 2008 5:30 pm
Location: France
Contact:

Re: [DEV] PayPal Donation Extension aka PPDE

Post by Skouat »

Hi all,

Today I've found a major issue with the "develop" branch of my extension.
If you have installed the latest version of the develop branch and when you disable the extension, the notification system generates a PHP fatal error.
Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'The service definition "skouat.ppde.notification.type.admin_donation_received" does not exist.' in C:\www\Apache24\htdocs\boards\ppde\vendor\symfony\dependency-injection\Symfony\Component\DependencyInjection\ContainerBuilder.php on line 798
Please update your version with the latest published on Github.
valiantiam
Registered User
Posts: 25
Joined: Sun Jul 26, 2015 6:38 pm

Re: [DEV] PayPal Donation Extension aka PPDE

Post by valiantiam »

Dont know how possible this would be...
but a recurring donation options would be awesome. Something along the line of a subscription mode / option that would put you in a specific usergroup(s) or pull you out of it depending on your subscription status.


Just a feature request. Love everything else so far. Also the IPN setup process could use some additional instruction for newbie users. I had to do some searching to find the right urls etc.
Solarmark Gaming - Community for Adult Gamers
Locked

Return to “Extensions in Development”