Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1122

PostPosted: Wed Jan 06, 2021 7:44 pm Reply with quote

Code:
Error: Things don't appear to be working at the moment. Please try again later.


Hello folks.

Does anyone have a working Donation module which works properly.

Let me know asap.

??
 
View user's profile Send private message
Doulos
Life Cycles Becoming CPU Cycles



Joined: Jun 06, 2005
Posts: 732

PostPosted: Wed Jan 06, 2021 10:51 pm Reply with quote

I have been trying to get Paypal IPN to work ever since I moved to php 7 and mariadb 10. The module and block work fine but I have to enter the data into the database manually. I have had several php experts help me with this but so far no one has figured it out.

If you get it working I'd really appreciate a copy.
 
View user's profile Send private message
hicuxunicorniobestbuildpc







PostPosted: Sat Jan 09, 2021 6:43 pm Reply with quote

I tried many things but I didn't get any solution yet. Maybe neralex knows the solutions. ?? Rolling Eyes
 
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1772

PostPosted: Sun Jan 10, 2021 4:14 am Reply with quote

Doulos, send me a ZIP with the files and a database-dump. I will give it try. From all what I know it used the msql-standard to store data.

_________________
Github: RavenNuke 
View user's profile Send private message
neralex







PostPosted: Sun Jan 17, 2021 10:40 am Reply with quote

I docked on the RN SQL-layer-class and the IPN-stuff works... Wink I cleaned the whole admin-module-file but the Block needs some more love. There is no big difference between your both modules and I get it sorted for each of us.
 
hicuxunicorniobestbuildpc







PostPosted: Sun Jan 17, 2021 7:06 pm Reply with quote

Very Happy and maybe some makeup to that old boring block which looks like php nuke?
 
neralex







PostPosted: Mon Jan 18, 2021 12:15 pm Reply with quote

I'll make it work again but I do not add any stylings.
 
Doulos







PostPosted: Mon Jan 18, 2021 1:27 pm Reply with quote

That would be great. One was the original for php5.3 if think, and the other was one I threw stuff at it until I had no php7 errors. I am sure there is a better way to do everything I did.
 
neralex







PostPosted: Tue Jan 19, 2021 4:47 pm Reply with quote

Both patched versions (tested with php7.4.12) were sent via PM. Do a backup of the files and the database before you are replacing the files. Please try it out and let me know, if you are getting errors or warnings.
 
Doulos







PostPosted: Wed Jan 20, 2021 4:01 am Reply with quote

Will do, thanks.
 
neralex







PostPosted: Sat Feb 20, 2021 5:55 am Reply with quote

It seems to be working?
 
Doulos







PostPosted: Tue Feb 23, 2021 3:41 am Reply with quote

I haven't had time to look into it fully.
 
hicuxunicorniobestbuildpc







PostPosted: Fri Feb 26, 2021 2:28 pm Reply with quote

it is not working. i still get the same error.

Code:
Error: Things don't appear to be working at the moment. Please try again later.
 
Doulos







PostPosted: Sat Feb 27, 2021 10:28 am Reply with quote

Where are you getting this issue? What version of PHP are you running? I don't get any PHP errors on PHP7.3, but I haven't had time test it with Paypal yet. Working with it on a test site, not production site. Once I see it is working, I will put it on the productions site.
 
neralex







PostPosted: Mon Mar 01, 2021 2:22 pm Reply with quote

hicuxunicorniobestbuildpc wrote:
it is not working. i still get the same error.

Code:
Error: Things don't appear to be working at the moment. Please try again later.


Sorry, but this line is not a part of the module, which you sent...
 
hicuxunicorniobestbuildpc







PostPosted: Thu Mar 04, 2021 7:16 pm Reply with quote

of course it is the same. When I try to make a donation u get this error.... Rolling Eyes
 
neralex







PostPosted: Thu Mar 04, 2021 10:16 pm Reply with quote

hicuxunicorniobestbuildpc, then try to search this line in the files which you sent me and tell me the file/line-number, where this codeline is located. I tried it to search with snippets like: "Error:", "appear to be working at the moment" or "Please try again later" but without any result.
 
hicuxunicorniobestbuildpc







PostPosted: Fri Mar 05, 2021 4:34 pm Reply with quote

When I try to make a donation paypal is showing this error.
[ Only registered users can see links on this board! Get registered or login! ]

Image upload
 
neralex







PostPosted: Sat Mar 06, 2021 12:45 pm Reply with quote

This is an BAD INPUT error of Paypal. I made some minor changes in the index.php of your module. Yo will find the whole package in a separate PM. Make sure that your paypal-business email-adress is stored in the databe without any free spaces and try it again.
 
misterstereus
Regular
Regular



Joined: Aug 03, 2012
Posts: 56
Location: Rome Italy

PostPosted: Mon May 03, 2021 9:01 am Reply with quote

hello please where I can download paypal module?

_________________
MisterStereus from Rome Italy!! 
View user's profile Send private message Send e-mail Visit poster's website
misterstereus







PostPosted: Tue May 04, 2021 7:37 am Reply with quote

Ok my module work Wink [ Only registered users can see links on this board! Get registered or login! ]
 
hicuxunicorniobestbuildpc







PostPosted: Sat May 08, 2021 4:16 pm Reply with quote

Quote:
Make sure that your paypal-business email-adress is stored in the databe without any free spaces and try it again.


The email is stored in the database.
 
Doulos







PostPosted: Mon May 24, 2021 3:00 am Reply with quote

misterstereus, can you PM me a copy of your Donation module, please?
 
hicuxunicorniobestbuildpc







PostPosted: Sat Nov 27, 2021 4:09 pm Reply with quote

Code:
echo '<div style="width:100%;">'.$DON_TEXT.'

        <div style="width:50%; float:left;">
        <form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post">
        <fieldset><legend>Make a Donation</legend>
        <input type="hidden" name="cmd" value="_xclick" />
        <input type="hidden" name="business" value="'.trim($PP_RECEIVER_EMAIL).'" />
        <input type="hidden" name="item_name" value="'.$PP_ITEMNAME.'" />
        <input type="hidden" name="item_number" value="110" />

<span class="title">Please select an amount:</span><br />
        <p style="text-align:left;">
        <input type="radio" name="amount" value="" id="Other" />
        <label for="Enter_Amount">Other Amount</label><input type="text" name="amount" value="' . CURR_SYMBOL . '0.00" id="Enter_Amount" size="10" /></p>
        <input type="hidden" name="rm" value="2" />
        ' . $DONATION_AMOUNTS . '

        <input type="hidden" name="on0" value="List your name?" />
        <div style="align:left; min-width:200px;"><span class="title">' . $tr_config['don_name_prompt'] . '</span></div><br />
        <label for="visibility">Username Visible?</label>
      <select name="os0" id="visibility">
            <option value="Yes" selected="selected">'.$tr_config['don_name_yes'].'</option>
                <option value="No">'.$tr_config['don_name_no'].'</option>
                    </select>
                    &nbsp;

        <input type="hidden" name="no_shipping" value="'.$PP_NO_SHIP.'" />
        <input type="hidden" name="currency_code" value="'.CURR_TYPE.'" />
        <input type="hidden" name="cn" value="Comments" />
        <input type="hidden" name="image_url" value="'.$PP_IMAGE_URL.'" />
        <input type="hidden" name="custom" value="'.$USERNAME.'" />
        <input type="hidden" name="cancel_return" value="'.$PP_CANCEL_URL.'" />
        <input type="hidden" name="return" value="'.$PP_TY_URL.'" />
        <input type="hidden" name="notify_url" value="'.$ipn_url.'" />
        <input type="hidden" name="image_url" value="'.$PP_IMAGE_URL.'" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
            <input type="image" src="'.$DON_BUTTON_SUBMIT.'" alt="Submit" name="I1" '.$DON_SUB_IMG_DIMS.' />
             </fieldset>
            </form>


I added this line to the code but it doesn't work neither.

Code:
<input type="hidden" name="hosted_button_id" value="ZXUWSQ3J4U9XY" />




Code:
echo '<div style="width:100%;">'.$DON_TEXT.'

        <div style="width:50%; float:left;">
        <form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post">
        <fieldset><legend>Make a Donation</legend>
        <input type="hidden" name="cmd" value="_xclick" />
        <input type="hidden" name="business" value="'.trim($PP_RECEIVER_EMAIL).'" />
        <input type="hidden" name="hosted_button_id" value="ZXUWSQ3J4U9XY" />
        <input type="hidden" name="item_name" value="'.$PP_ITEMNAME.'" />
        <input type="hidden" name="item_number" value="110" />

<span class="title">Please select an amount:</span><br />
        <p style="text-align:left;">
        <input type="radio" name="amount" value="" id="Other" />
        <label for="Enter_Amount">Other Amount</label><input type="text" name="amount" value="' . CURR_SYMBOL . '0.00" id="Enter_Amount" size="10" /></p>
        <input type="hidden" name="rm" value="2" />
        ' . $DONATION_AMOUNTS . '

        <input type="hidden" name="on0" value="List your name?" />
        <div style="align:left; min-width:200px;"><span class="title">' . $tr_config['don_name_prompt'] . '</span></div><br />
        <label for="visibility">Username Visible?</label>
      <select name="os0" id="visibility">
            <option value="Yes" selected="selected">'.$tr_config['don_name_yes'].'</option>
                <option value="No">'.$tr_config['don_name_no'].'</option>
                    </select>
                    &nbsp;

        <input type="hidden" name="no_shipping" value="'.$PP_NO_SHIP.'" />
        <input type="hidden" name="currency_code" value="'.CURR_TYPE.'" />
        <input type="hidden" name="cn" value="Comments" />
        <input type="hidden" name="image_url" value="'.$PP_IMAGE_URL.'" />
        <input type="hidden" name="custom" value="'.$USERNAME.'" />
        <input type="hidden" name="cancel_return" value="'.$PP_CANCEL_URL.'" />
        <input type="hidden" name="return" value="'.$PP_TY_URL.'" />
        <input type="hidden" name="notify_url" value="'.$ipn_url.'" />
        <input type="hidden" name="image_url" value="'.$PP_IMAGE_URL.'" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
            <input type="image" src="'.$DON_BUTTON_SUBMIT.'" alt="Submit" name="I1" '.$DON_SUB_IMG_DIMS.' />
             </fieldset>
            </form>


Could anyone help with donation module?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©