Author |
Message |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
 orders not going back to cart
I ran install_test.cgi and i get 4 errors on IntelliPay-user_lib.pl which does not exist in my folder.
I looked at all posts here and in general area, but to no avail.
My test orders go through fine and the customer gets the emails and I get a email from the merchant itself to my merchant addy, but I get no order logging or emails from agora telling me what was ordered.
I know i can go into the shopping cart directory and get it, buy what's the problem with my cart emails?
I have my main settings through the manager set to email two addys and they all work.
I don't know whether to set 0077 umask to yes or not (its currently at no).
As a matter of fact, my log file was never created by the cart.
Uh, help?
|
Mon Mar 13, 06 9:40 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Have you followed the instructions at:
http://www.agoracart.com/help/linkpointbasic.html
You need to set up the store URLs in your Linkpoint control panel to redirect and report info back to the store.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Mar 13, 06 9:50 am |
 |
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
So what you are saying is....
Instead of having the "thank you" and "failure" pages point to specific html files that I have created for that purpose, I should make it point to http://mydomain/store/agora.cgi?
I'll try that.
|
Mon Mar 13, 06 9:59 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Yes, they MUST point back to the store or Agora does not receive any of the information, hence, the reason you are not getting the order logged or emails from AgoraCart.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Mar 13, 06 10:11 am |
 |
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
well, i tried that and i have an interesting problem now....
its kinda funny, but its not.
as soon as i enter the CREDIT CARD info and press submit, the browser pops up and says "Although this page is secure, the information you are sending is not".
Wow....
Do i need to connect back to the cart through ssl or something?
|
Mon Mar 13, 06 10:17 am |
|
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
it still does not tell me what they ordered from my cart
|
Mon Mar 13, 06 10:24 am |
|
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
what i mean to say is it now logs properly.
thanks.
but it doesn't tell me what they ordered in the emails
|
Mon Mar 13, 06 10:30 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
The emails are probably still from Linkpoint and NOT AgoraCart.
If I recall, you did some hacking on the store??? What exactly, did you do?
How about a URL to the store??
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Mar 13, 06 10:42 am |
 |
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
No the emails are coming from agora.
the sender is the exact same email addy that its going to.
but why is it not picking up the file with the order info?
is there a file that has the script that grabs it?
|
Mon Mar 13, 06 10:56 am |
|
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
well, i found the part that manipulates the cart data in the LinkpointHTML-order_lib.pl
this is what grabs the cart data:
Code:
$text_of_cart .= " --PRODUCT INFORMATION--\n\n";
open (CART, "$sc_cart_path") ||
&file_open_error("$sc_cart_path", "display_cart_contents", __FILE__, __LINE__);
while (<CART>) {
$cartData++;
@cart_fields = split (/\|/, $_);
$quantity = $cart_fields[0];
$product_price = $cart_fields[3];
$product = $cart_fields[4];
$options = $cart_fields[$cart{"options"}];
$options =~ s/<br>//g;
$text_of_cart .= &cart_textinfo(*cart_fields);
$stevo_shipping_thing .= "|quantity\*$weight";
$stevo_shipping_names .= "|$product\($options\)";
&codehook("process-cart-item");
}
close(CART);
Now whatever is wrong with the grabbing of this information i am all ears.
I never touched this part of it (i swear).
|
Mon Mar 13, 06 11:10 am |
|
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
now i see.
I get an error screen when the order is returned to agora
I looked in the error log and see
FILE OPEN ERROR-./shopping_carts/172.30_cart
FILE=./library/LinkpointHTML-order_lib.pl
LINE=237
which is this line in that file:
Code:
open (CART, "$sc_cart_path") ||
|
Mon Mar 13, 06 11:26 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Out of the box, the Linkpoint gateway works fine, I have installed it on several stores...
I would suggest that you restore the original, default LinkpointHTML gateway files to your store...something in your edits has probably done something...
None of the stuff you mentioned is the problem... it has to be in the edits you have made or in setup.
Make sure that wherever you have the store URL that you DO NOT have the question mark (?) on the end of the URL.
URL to your store, please???
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Mar 13, 06 12:39 pm |
 |
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
I think i got it working....
I think.
I had a static cartid in my index page i didn't know about....I always wondered why i kept seeing the same stuff in my cart.
changed that and it works fine so far.
lol!
BUT....
my only problem left is getting agora to send out the necessary emails to the customer. You know the one that says "Agora Order"? I'm getting the one from agora but the customer is not. before i try it, is it possible to pass the
Code:$form_data{'email'}
variable to my own statement to be executed after the
Code:
if ($sc_send_order_to_email =~ /yes/i) {
&send_mail($sc_order_email, $sc_order_email, "AgoraCart Order",$text_of_cart);
}
????
like put
Code:
&send_mail($form_data{'email'}, $sc_order_email, "AgoraCart Order",$text_of_cart);
to force the email?[/code]
|
Mon Mar 13, 06 1:20 pm |
|
 |
inspector
Newbie - Two Blades
Joined: 08 Mar 2006
Posts: 25
|
whoops.
its right under it
|
Mon Mar 13, 06 1:28 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Like I said... you might want to just restore the original gateway files...The cart DOES send out the appropriate emails autoimatically... I have installed this gateway on several websites and have not had any of the issues you have been having.
I believe that your issues may be directly related to whatever other edits you have made to the gateway files. You need to back those edits out so that you can see how the gateway is supposed to function.
Hacking the gateway apart is not necessarily the answer here since you seem to not have gotten an appropriate email before applying your edits. Which should have been done before you made any edits to the gateway files.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Mar 13, 06 1:56 pm |
 |
 |
|