[CDB] Paypal Donation

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!
Scam Warning
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)
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: [DEV] Paypal Donation

Post by mrgtb »

dmzx wrote:
mrgtb wrote:How do the redirect pages work if a person 'cancels' or 'makes a donation'? I thought you needed to add URL for those pages to PayPal to make use of them redirect back to your own site, and don't see a URL listed either in Admin CP for the pages used for cancel or confirmed payment

So how does a person get redirected to cancel or confirmed payment page from paypal site?

If a person cancels the donation it redirect back to /donation?mode=cancel and cancel page is shown
same for success page /donation?mode=success
But that still doesn't answer my question. How do they get used? Do you have to manually link to them from your paypal account? As far as I'm aware, Paypal won't link back to any page on your site unless you add a custom url in your paypal settings to do so last time I checked.
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11073
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [DEV] Paypal Donation

Post by Raul [ThE KuKa] »

"PR" Spanish translation ready. ;)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Paypal Donation

Post by dmzx »

mrgtb wrote:
dmzx wrote:
mrgtb wrote:How do the redirect pages work if a person 'cancels' or 'makes a donation'? I thought you needed to add URL for those pages to PayPal to make use of them redirect back to your own site, and don't see a URL listed either in Admin CP for the pages used for cancel or confirmed payment

So how does a person get redirected to cancel or confirmed payment page from paypal site?

If a person cancels the donation it redirect back to /donation?mode=cancel and cancel page is shown
same for success page /donation?mode=success
But that still doesn't answer my question. How do they get used? Do you have to manually link to them from your paypal account? As far as I'm aware, Paypal won't link back to any page on your site unless you add a custom url in your paypal settings to do so last time I checked.
No you don't have to manually add them, they are called with these lines:
https://github.com/dmzx/paypaldonation/ ... ml#L26-L27

To test fill in a letter (A for example) instead of a number and click "submit" then click back to webshop and see the cancel page.
Last edited by dmzx on Tue Apr 14, 2015 7:45 pm, edited 1 time in total.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Paypal Donation

Post by dmzx »

Raul [ThE KuKa] wrote:"PR" Spanish translation ready. ;)

Thanks!! ;)
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [DEV] Paypal Donation

Post by wkuzma »

problem with new version
when you enter a cancel text in the config it doesn't show what you entered it does show this
You have cancelled your donation. Its no problem, but please consider a donation in the future.

This text can be changed in ACP under the extensions tab.
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Paypal Donation

Post by dmzx »

wkuzma wrote:problem with new version
when you enter a cancel text in the config it doesn't show what you entered it does show this
You have cancelled your donation. Its no problem, but please consider a donation in the future.

This text can be changed in ACP under the extensions tab.
Yes I see will update in next release thanks for the report!
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Paypal Donation

Post by dmzx »

First post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Paypal Donation

Post by dmzx »

Taka51 wrote:Good evening dmax

the problem is solved despite me here because of wrong with the file "dmzx" in my ftp refuses to deleted this morning despite the extension and the data was far removed from my admin panel blows I temporarily rename "dMZ" and creates a new folder "dmzx" to install your updated extension
I am currently looking how to rename the file deleted causing me problem I see if it's not a permissions history "chmod"
cordially
Thanks for the report back.

Grtz dmzx
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [DEV] Paypal Donation

Post by nero »

Dmzx did you get my messages about the icons?
systemcrack
Registered User
Posts: 158
Joined: Thu Jun 24, 2010 4:35 pm
Location: Italy
Contact:

Re: [DEV] Paypal Donation

Post by systemcrack »

david63 wrote:
systemcrack wrote:This package is the Italian translation.

If I can afford.. would not be bad if this inscription:
We have received 9 euro in donations

Not appear if the figure is equal to 0
That should be handled in the language file using the plural rules
I do not believe to be sure I understand the meaning of your answer..
They are present in the en language files?
However there is a chance to show or not on the pca.. I saw only after writing.
My proposal is useless.. sorry.

However, the Italian translation is ready and freely downloadable from here.
Sorry for my bad English ..
kbmclaren
Registered User
Posts: 8
Joined: Fri Apr 03, 2015 4:03 pm

Re: [DEV] Paypal Donation

Post by kbmclaren »

Is this ext going to be more automated in the future? I mean when someone donates successfully it updates the status bar(or is this how its supposed to work? it doesn't for me). An option to have it reset on some day of every month? Some way to see who donated(if you don't have access to the paypal account)?

Thanks!
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [DEV] Paypal Donation

Post by wkuzma »

dmzx wrote:
wkuzma wrote:problem with new version
when you enter a cancel text in the config it doesn't show what you entered it does show this
You have cancelled your donation. Its no problem, but please consider a donation in the future.

This text can be changed in ACP under the extensions tab.
Yes I see will update in next release thanks for the report!
just a heads up seems none of the entered text works
and the following I already reported so here it is again
at the cancell button when at the paypal login screen it says
cancel and return to my email address instead of the web site that sent you there.
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Paypal Donation

Post by dmzx »

wkuzma wrote:
dmzx wrote:
wkuzma wrote:problem with new version
when you enter a cancel text in the config it doesn't show what you entered it does show this
You have cancelled your donation. Its no problem, but please consider a donation in the future.

This text can be changed in ACP under the extensions tab.
Yes I see will update in next release thanks for the report!
just a heads up seems none of the entered text works
and the following I already reported so here it is again
at the cancell button when at the paypal login screen it says
cancel and return to my email address instead of the web site that sent you there.

PM me your board url
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [DEV] Paypal Donation

Post by wkuzma »

The text is working I updated to the latest version and want to say good work.
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Paypal Donation

Post by dmzx »

wkuzma wrote:The text is working I updated to the latest version and want to say good work.
;)
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
Locked

Return to “Extensions in Development”