Donate Page Help! 4funer or someone
Alright so my issue is when i go to my donation page imgur: the simple image sharer and i click circle to buy the credits and click proceed to checkout this is what i get
a blank page saying donate imgur: the simple image sharer
can anyone tell me how to fix this issue?
and can anyone help me setup SMTP server?
Re: Donate Page Help! 4funer or someone
With your screens I don't quite know what exactly happened.
For Starters: For donations in Paypal, you would need a sort of ID from Paypal, refer to your Paypal account (that can receive funds) for details on that one. You need to enter this ID into MUCore Admin Panel for donation to work.
With this out of the way, you may want to switch on Debug Mode and recreate this error process, something error message would come up, post these and we'll see if we could help.
Re: Donate Page Help! 4funer or someone
alright nemoma what happens that my donater can buy the credits through paypal like he finish the process but when he finish it he does not give the credits to him
http://imgur.com/uZBWwvi
thats the errors that i get
please help me!
Re: Donate Page Help! 4funer or someone
Re: Donate Page Help! 4funer or someone
From your screenshot, There is no errors in the actual donation process.
Did you changed the default credit fields? If you do, you may want to change your donate module to reflect that.
Re: Donate Page Help! 4funer or someone
yel i set it from 100 to 50 so i would haft to set it back to 100 right?
1$ Package Active 1 USD 50
5$ Package Active 5 USD 250
10$ Package Active 10 USD 500
15$ Package Active 15 USD 750
20$ Package Active 20 USD 1,000
25$ Package Active 25 USD 1,250
30$ Package Active 30 USD 1,500
35$ Package Active 35 USD 1,750
40$ Package Active 40 USD 2,000
so tell me what i need to change ^_^
these are my new ones
PayPal Donate Packages
Title Display Order Status Amount Currency Credits (MU Coins) Controls
1$ Package Active 1 USD 100 [Edit] / [Delete]
5$ Package Active 5 USD 500 [Edit] / [Delete]
10$ Package Active 10 USD 1,000 [Edit] / [Delete]
15$ Package Active 15 USD 1,500 [Edit] / [Delete]
20$ Package Active 20 USD 2,000 [Edit] / [Delete]
25$ Package Active 25 USD 2,500 [Edit] / [Delete]
30$ Package Active 30 USD 3,000 [Edit] / [Delete]
35$ Package Active 35 USD 3,500 [Edit] / [Delete]
40$ Package Active 40 USD 4,000
Re: Donate Page Help! 4funer or someone
so anything im doing wrong?
Re: Donate Page Help! 4funer or someone
No, I mean your default field.
It's in your config.php in your root folder of MUCore.
Code:
/*-----------------------------------------------------*\
| MUCore's MUCoins SQL Table Settings: |
| |
| MU_COINS_TABLE : MUCoins table name |
| MU_COINS_COLUMN : MUCoins (Credits) column name |
| MU_COINS_USERID_COLUMN : MUCoins User ID column name |
\*-----------------------------------------------------*/
//define('MU_COINS_TABLE','memb_credits');
//define('MU_COINS_COLUMN','credits');
and another few configs in the section.
like this (I commented the default out because i changed it, you shouldn't comment out these lines!)
If you changed these, you must go into your vote module to make sure these fields match.
Re: Donate Page Help! 4funer or someone
i never change those thats what i am saying!
and when i set your code in my config and my friend doanted it set all of his credits back to 0
do you got or facebook something i can messanger you through faster?
https://www.facebook.com/redemption.mu
skype-dragonseth101@yahoo.com
Re: Donate Page Help! 4funer or someone
As I said I have changed the defaults. However the commented out lines are default values.
check the processing module:
paypal_process.php
Code:
<?php
require( "config.php" );
require( "engine/global_config.php" );
require( "engine/global_functions.php" );
require( "engine/adodb/adodb.inc.php" );
if ( $core['debug'] == "1" )
{
ini_set( "display_errors", "On" );
error_reporting( E_ERROR | E_WARNING | E_PARSE );
}
else
{
ini_set( "display_errors", "Off" );
error_reporting( E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING );
}
include( "engine/connect_core.php" );
$log_dir = "engine/logs/paypal";
echo "<div style=\"font: 15px arial; width: 600px;\">";
if ( isset( $_POST['code'] ) )
{
$code = safe_input( $_POST['code'], "" );
if ( empty( $code ) )
{
echo "<span style=\"color:#ff0000\">Please enter an valid verification code.</span>";
}
else
{
$check = $core_db->Execute( "Select memb___id,credits,credits_issued,id from MUCore_PayPal_Donate_Transactions where code=?", array(
$code
) );
if ( $check->EOF )
{
echo "<span style=\"color:#ff0000\">You have entred an invalid verification code.</span>";
}
else if ( $check->fields[2] == 1 )
{
echo "<span style=\"color:#ff0000\">You have entred an invalid verification code.</span>";
}
else
{
$check_for_memb_id = $core_db2->Execute( "Select ".MU_COINS_USERID_COLUMN." from ".MU_COINS_TABLE." where ".MU_COINS_USERID_COLUMN."=?", array(
$check->fields[0]
) );
if ( $check_for_memb_id->EOF )
{
$set_credits = $core_db2->Execute( "insert into ".MU_COINS_TABLE." (".MU_COINS_USERID_COLUMN.",".MU_COINS_COLUMN.")VALUES(?,?)", array(
$check->fields[0],
$check->fields[1]
) );
}
else
{
$set_credits = $core_db2->Execute( "Update ".MU_COINS_TABLE." set ".MU_COINS_COLUMN."=".MU_COINS_COLUMN."+? where ".MU_COINS_USERID_COLUMN."=?", array(
$check->fields[1],
$check->fields[0]
) );
}
if ( $set_credits )
{
$update_code = $core_db->Execute( "Update MUCore_PayPal_Donate_Transactions set credits_issued='1' where id=?", array(
$check->fields[3]
) );
if ( $update_code )
{
write_log( $log_dir, "[PayPal Donate Step 3/3] Set Credits [userid: ".$check->fields[0]."] [credits: ".number_format( $check->fields[1] )."]" );
echo "<b>".number_format( $check->fields[1] )." credits have been issued to you.!</b><br>You will be redirected to ".$core['config']['websitetitle']." in 5 seconds<br><br><a href=\"".$core['config']['website_url']."\">Click here if your browser does not automatically redirect you.</a><meta http-equiv=\"Refresh\" content=\"5; URL=".$core['config']['website_url']."\">";
$success = 1;
}
}
}
}
echo "<br><br>";
}
if ( !$success )
{
if ( isset( $_GET['note'] ) )
{
$note = "<fieldset><legend>Note</legend>Your verification code have been sent into your <b>paypal email addresss</b>. Please check your paypal email.</blink></fieldset>";
}
echo "\r\n<form action=\"\" name=\"credits\" method=\"post\">\r\n<em>Enter your donation verification code to receive your credits.</em><br>\r\n<b>Verification Code:</b> <input type=\"text\" name=\"code\" maxlength=\"40\" size=\"31\"> <input type=\"submit\" value=\"Get Credits\">\r\n</form>\r\n<br>\r\n".$note."\r\n";
}
echo "</div>";
?>
It's located just under your root folder, check if the files are same as above.
Also, check the Paypal donation logs: are there any logs generated in MUCore?
If yes, then the problem is on adding credits.
If no, then the problem is on actual processing of the donation.
(Since you said you received money from donation, this means the paypal side or your config have no problems.
(Since you opened up debug and then no error messages are shown, that means the database access is okay.
Re: Donate Page Help! 4funer or someone
my paypal_process.php is exactly the same i can't seem to find the paypal donation logs