Forum Replies Created
-
AuthorPosts
-
January 3, 2013 at 11:42 am in reply to: eMember – Fatal error: Cannot re-assign auto-global variable _POST #52762clausMember
Yesss it’s working now. Sorry that I didn’t check for the update before
Thanks for the fast help.
August 17, 2012 at 10:32 am in reply to: WP eStore says Payment Verification Failed, when payment is successful #39871clausMemberHi,
thanks for the replies. Im using the variations like this :
|Erwachsene/Adults|Kinder/Enfants:-17.50
The only modifications done are for the language settings together with qtranslate. I’m using version 6.8.4.
If I try to put a string in the price field the price charged is wrong.
August 16, 2012 at 8:56 pm in reply to: WP eStore says Payment Verification Failed, when payment is successful #39868clausMemberHi,
it seems to me that I encounter a similar problem. The setup is as follows : We sell tickets over a website and for these tickets there is a varition which allows the customer to select a full price ticket for adults or a ticket for children with a 50% discount.
When checking out a full price ticket via PayPal no problem, but when checking out a child’s ticket the transaction is not validated.
We are currently using only sandbox for testing.
Here are the log file results for a full price ticket :
[08/16/2012 5:30 PM] – SUCCESS :Incremental counter value for PayPal checkout: 8
[08/16/2012 5:30 PM] – SUCCESS :Applying filter – eStore_notification_email_body_filter
[08/16/2012 5:30 PM] – SUCCESS :Product Email successfully sent to buyer2_1345131849_per@missgranderegion.org.
[08/16/2012 5:30 PM] – SUCCESS :Notify Email successfully sent to info@missgranderegion.org.
[08/16/2012 5:30 PM] – SUCCESS :Updating Products, Customers, Coupons, Sales Database Tables with Sales Data.
[08/16/2012 5:30 PM] – SUCCESS :No eMember ID was passed so the user was not logged in. Quering member database to see if a user account exists for: buyer2_1345131849_per@missgranderegion.org
[08/16/2012 5:30 PM] – SUCCESS :Current available copies value: 4 Sales count value: 12
[08/16/2012 5:30 PM] – SUCCESS :New available copies value: 3 New sales count value: 13
[08/16/2012 5:30 PM] – SUCCESS :Current available copies value: 205 Sales count value: 85
[08/16/2012 5:30 PM] – SUCCESS :New available copies value: 204 New sales count value: 86
[08/16/2012 5:30 PM] – SUCCESS :Products, Customers, Coupons, Sales Database Tables Updated.
[08/16/2012 5:30 PM] – SUCCESS :Updating Affiliate Database Table with Sales Data if Using the WP Affiliate Platform Plugin.
[08/16/2012 5:30 PM] – SUCCESS :Not Using the WP Affiliate Platform Plugin.
[08/16/2012 5:30 PM] – SUCCESS :Paypal class finished.
and for a child price ticket
[08/16/2012 5:12 PM] – SUCCESS :Item Number: 3
[08/16/2012 5:12 PM] – SUCCESS :Item Name: VIP-Ticket (Kinder/Enfants)
[08/16/2012 5:12 PM] – SUCCESS :Item Quantity: 2
[08/16/2012 5:12 PM] – SUCCESS :Item Price: 35.00
[08/16/2012 5:12 PM] – SUCCESS :Item Shipping: 0.00
[08/16/2012 5:12 PM] – SUCCESS :Item Currency: EUR
[08/16/2012 5:12 PM] – FAILURE :Wrong Product Price Detected! Actual Product Price : 70 Amount Paid: 35.00
[08/16/2012 5:12 PM] – FAILURE :IPN product validation failed.
[08/16/2012 5:12 PM] – SUCCESS :Paypal class finished.
Any ideas what might be wrong ?
Cheers and thanks in advance
Claus
clausMemberHi,
I have a problem with setting up eMember together with WPML. I’ve added some lines of code to the file wp_eMember1.php (see below) to get the problem solved. This is working like a charm with other plugins but unlikely not with eMember as it seems that the constant ICL_LANGUAGE_CODE is not available at the runtime of wp_eMember1.php. Can anybody help please
Here’s the code I added :
if (!empty($lang))$eMember_language_file = “lang/”.$lang.”.php”;
else $eMember_language_file = “lang/eng.php”;
/**************************************************************
*** Added to change language file according to WPML setting ***
***************************************************************/
if (defined(‘ICL_LANGUAGE_CODE’)) {
$wpml_lang=ICL_LANGUAGE_CODE;
switch ($wpml_lang) {
case “en”:
$eMember_language_file = “lang/eng.php”;
break;
case “de”:
$eMember_language_file = “lang/ger.php”;
break;
case “fr”:
$eMember_language_file = “lang/fr.php”;
break;
default: //Switch back to english if language is not recognized
$eMember_language_file = “lang/eng.php”;
break;
}
}
/*********************
/*** End of change ***
**********************/
include_once($eMember_language_file);
For info : My eMember is set to German. With the line ‘ if (defined(‘ICL_LANGUAGE_CODE’)) {
‘ in the code it shows up in german, if I delete the line it switches back to english independent of which language is selected in WPML, so the code ends up with the default: setting.
Hope somebody can help
-
AuthorPosts