Forum Replies Created
-
AuthorPosts
-
July 31, 2011 at 1:08 am in reply to: Getting an error with the payment gateway bundle plugin #34834russmcMember
Hello Ivy and Amin,
OK after a couple of days of struggles I found the problems I was having were based on my server for the most part.
I have PHP 5.2.9, Apache LiteSpeed, and aparently magic quotes turned on.
Curl was not posting to wp-cart-for-digital-productseStore_process_payment_data.php
becuase of LiteSpeed and the Header being returned with a HTTP/1.1 100 Continue. So in wp-pg-utility-functions.php in the function wp_pg_send_data_using_curl() I added “Expect:” to the CURLOPT_HTTPHEADER so I changed around line 179
curl_setopt($ch, CURLOPT_HTTPHEADER, array(“Content-type: multipart/form-data”));
to
curl_setopt($ch, CURLOPT_HTTPHEADER, array(“Expect:”,”Content-type: multipart/form-data”));
Next thanks to Magic Quotes or something putting quotes in the serialized $_REQUEST and $_REQUEST in wp-cart-for-digital-productseStore_process_payment_data.php so I changed it like so around lines 11 or 12
from
$payment_data = unserialize($_REQUEST);
$cart_items = unserialize($_REQUEST);
to
$payment_data = unserialize(stripslashes($_REQUEST));
$cart_items = unserialize(stripslashes($_REQUEST));
And wahlah it works!!
I also updated process_auth_aim.php and wp_pg_auth_aim_class.php to include all the fields in the AIM Method Post in addition to the ones you had of course as follows:
“x_cust_id” => $customer_id,
“x_invoice_num” => $invoice_id,
“x_first_name” => $first_name,
“x_last_name” => $last_name,
“x_address” => $bill_address,
“x_city” => $bill_city,
“x_state” => $bill_state,
“x_zip” => $bill_zip,
“x_country” => $bill_country,
“x_phone” => $bill_phone,
“x_email” => $bill_email,
“x_ship_to_first_name” => $ship_first_name,
“x_ship_to_last_name” => $ship_last_name,
“x_ship_to_address” => $ship_address,
“x_ship_to_city” => $ship_city,
“x_ship_to_state” => $ship_state,
“x_ship_to_zip” => $ship_zip,
“x_ship_to_country” => $ship_country,
“x_customer_ip” => $_SERVER,
“x_description” => $i_desc,
“x_tax” => $cart_tax,
I hop this might help someone inthe future.
It’s all working now, thanks again for your quick responses.
Cheers,
Russ
July 29, 2011 at 11:38 pm in reply to: Getting an error with the payment gateway bundle plugin #34832russmcMemberI found the next issue! I could not process a transaction because in file wp_pg_auth_aim_class.php this variable was set as follows
$post_url = “https://test.authorize.net/gateway/transact.dll”;
when it should be
$post_url = “https://secure.authorize.net/gateway/transact.dll”;
Now for some reason the post processing is not working I have some encouraging stuff in the debug file but the trans_id is missing.
Is this compatible with eMember???
July 29, 2011 at 8:15 pm in reply to: Getting an error with the payment gateway bundle plugin #34831russmcMemberHello, I found one thing that was causing the issue above. You cannot have the Enable Fancy Redirection On Checkout – checked for this to work properly. Now I am on to getting it to process the payment. Still no luck there but working on it. I’ll update anyhting else I discover.
July 29, 2011 at 4:21 pm in reply to: Getting an error with the payment gateway bundle plugin #34830russmcMemberOk I got it all reinstalled and the key works thank you. When I have it redirect to the checkout page autmatically and fill out the form for Authorize.net AIM and submit I get this error.
Fatal error: Call to a member function CalculateCartTotal() on a non-object
If I don’t auto redirect to check out from my product and cart page the “Proceed to Checkout” button takes me to PayPal. I only have the Authorize.net payment checked in the payment gateway bundle. I would think that the “Proceed to Checkout” should take me to the checkout page for the AIM method and the error above should not show. My checkout page is on https:// I can’t fiugure this out. Please help. Thanks Russ
July 29, 2011 at 1:06 am in reply to: Getting an error with the payment gateway bundle plugin #34827russmcMemberI reinstalled everything and updated wordpress to 3.2.1 since I wrote this thinking it would help fix the issue, but now my key says
License key is invalid!
Reached Maximum Allowable Domains!
it’s the same domain just reinstalled it. Once I get it working I need to move it to another domain were it will be permanent. [http://wordpress.505studios.com] is just our development site. Will you have to reissue a key again.
If you login now the cart has not been set back up with any products and the WP eMember has not been setup. I think I just need the key fixed for now and than I finish setting up the cart and eMember if there is still the issue above after that I will fill out the form you suggested sothat you can login and take a look.
I also replied to your email.
Thanks Russ
-
AuthorPosts