Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Official PayPal IPN Support Thread


Mark Evans

Recommended Posts

I am sorry, I do not know why your stock IPN is submitting values as a negative. Hopefully someone else will post with some suggestions for you on that. I suggest providing more details such as: did this just start happening, have you recently installed any other contributions, have you recently made any other changes to your website...?

 

I got a complaint a few days ago that paypal was not working like it supposed to, than i went checking. I don' order much from my own store... I don't have much orders via paypal, the latest was in February (but perhaps that is because of the problem, not sure). Since than I have altered a few things, ultimate SEO - shipping costs - google analytics - some redefining of the orderreceipt-email. I only have the problem with 1 specific article, the cheapest I have. I did some test with pricing and it turns out the problem disappears if I raise the price above 1 Euro. Ordering 2 of this item helps too... very confusing...

Link to comment
Share on other sites

Please excuse the double post but I believe this is actually the proper place to ask my question, especially since vger is probably watching this one.

 

I am running OSCommerce 2.2 MS2, I have installed PayPal IPN.

 

I have been getting some orders (or not getting them as the case may be), but it is slightly different than other people experience.

My orders show up in the admin, however there are no products listed on the invoice. I have checked the database and there is an order in orders, but no line items in orders_products. From the looks of things the order items are still sitting in the customers_basket.

 

The customers never complete the order through paypal, as I do not recieve a payment in paypal. I am not sure when they cancel out. It is not consistent that all paypal unpaid orders do not have items in their order, some orders do go through to orders_products correctly while the paypal part doesnt process. What might also be useful information is that I never get an email from my store when I have a broken paypal order. This is in both cases, ie: when items are in the orders_products table and when they are not but the order exists in the orders table.

 

I cannot find the reason why the shopping cart would not get copied across to the orders table. Anyone have any ideas?

 

I have tried testing myself going through successful transactions as well as not completing the paypal transaction, but mine always save correctly.

 

very strange.

 

thanks

 

Mandi

Link to comment
Share on other sites

Having read everything I can think of around here, I feel pretty dumb asking this question, but...

 

I have the contribution installed and it seems to be working as I would expect (although I forgot to check the stock level before placing the order so I don't know yet whether the inventory is decrementing automatically!).

 

The question is should I be expecting the order's status, through the IPN, to get "automatically" updated to any status beyond pending? Or is this a manual process where I would set the order status myself to "processing" or "delivered" based purely on my own business model/work flow?

 

Thanks.

Link to comment
Share on other sites

Having read everything I can think of around here, I feel pretty dumb asking this question, but...

 

I have the contribution installed and it seems to be working as I would expect (although I forgot to check the stock level before placing the order so I don't know yet whether the inventory is decrementing automatically!).

 

The question is should I be expecting the order's status, through the IPN, to get "automatically" updated to any status beyond pending? Or is this a manual process where I would set the order status myself to "processing" or "delivered" based purely on my own business model/work flow?

 

Thanks.

 

The status should change, you can select the status (which status you want it to change to) yourself from the admin panel in Payment modules.

Link to comment
Share on other sites

The status should change, you can select the status (which status you want it to change to) yourself from the admin panel in Payment modules.

 

Thanks, Mark.

 

So what should I be looking for that would trigger the next status change, presumably to Processing (by default)?

 

Receiving the "PayPal IPN Verified" changed the status to Pending. What else would I be expecting to happen at this point?

Link to comment
Share on other sites

The status should change, you can select the status (which status you want it to change to) yourself from the admin panel in Payment modules.

 

Be aware that if the person doesnt return to you site after they complete the transaction (using the return to merchant link from paypal), then you may not see the status updated. You should do some testing of your own doing complete transactions, and also not returning to the site so you can see what effect it has on your orders.

Link to comment
Share on other sites

Thanks, Mark.

 

So what should I be looking for that would trigger the next status change, presumably to Processing (by default)?

 

Receiving the "PayPal IPN Verified" changed the status to Pending. What else would I be expecting to happen at this point?

 

Whatever you set the completed status to be in the admin panel is what status you will get after the paypal transaction is complete. anything beyond that you have to deal with yourself ie: if you want to update to shipped for example.

 

Personally mine is set to set the status to PAID.

Link to comment
Share on other sites

Whatever you set the completed status to be in the admin panel is what status you will get after the paypal transaction is complete. anything beyond that you have to deal with yourself ie: if you want to update to shipped for example.

 

Personally mine is set to set the status to PAID.

 

Okay, so maybe I'm better asking what triggers the "PayPal Acknowledged Order Status" and "PayPal Completed Order Status"?

 

Perhaps there's more to this process that I don't understand than I thought... :blush:

Link to comment
Share on other sites

Okay, so maybe I'm better asking what triggers the "PayPal Acknowledged Order Status" and "PayPal Completed Order Status"?

 

Perhaps there's more to this process that I don't understand than I thought... :blush:

 

Well... This is the part that is not working for me, and several others who have been battling to get this module working.

 

When a customer starts an order, it will be written to your "ORDERS" at checkout when they are passed off to PayPal. Then the customer completes payment and PayPal will send back an acknowledgment to your site which will be processed to reduce stock and post the status of the payment such as "confirmed". The problem I have is that this IPN "post-back" from PayPal is not successfully writing to my website so the stock does not get updated. I can see the PayPal IPN accessing my IPN file after a purchase by watching Who's Online, it just doesn't successfully connect about 95% of the time. If yours is not updating either, it may not be functioning correctly.

Edited by mmph
Link to comment
Share on other sites

Well... This is the part that is not working for me, and several others who have been battling to get this module working.

 

When a customer starts an order, it will be written to your "ORDERS" at checkout when they are passed off to PayPal. Then the customer completes payment and PayPal will send back an acknowledgment to your site which will be processed to reduce stock and post the status of the payment such as "confirmed". The problem I have is that this IPN "post-back" from PayPal is not successfully writing to my website so the stock does not get updated. I can see the PayPal IPN accessing my IPN file after a purchase by watching Who's Online, it just doesn't successfully connect about 95% of the time. If yours is not updating either, it may not be functioning correctly.

 

Huh! Well, I am somewhat embarrassed to report that my stock IS decrementing correctly...

 

For testing, I changed my "Set PayPal Acknowledged Order Status" to a new "PayPal Acknowledged" status and my "Set PayPal Completed Order Status" to a new "PayPal Completed" status, and ran an order through.

 

The order shows two status history records, one at "Preparing [PayPal IPN]" and the second three minutes later at "PayPal Completed" -- and stock has been reduced accordingly.

 

So my assumption at this point is that I would then manually change the order to "Delivered" or "Shipped" or something as I move through my self-imposed order workflow and send out the product.

 

I guess maybe I should just count myself lucky, try this test a few more times, and if all remains consistent quietly move on to downloading and installing the Super Download contribution.

 

Thanks for your responses Mark and Mandi. Sure nice to see there's such a plethora of folk on these lists who will to stand in as sounding boards when needed...

 

 

Eric

Link to comment
Share on other sites

Huh! Well, I am somewhat embarrassed to report that my stock IS decrementing correctly...

 

For testing, I changed my "Set PayPal Acknowledged Order Status" to a new "PayPal Acknowledged" status and my "Set PayPal Completed Order Status" to a new "PayPal Completed" status, and ran an order through.

 

The order shows two status history records, one at "Preparing [PayPal IPN]" and the second three minutes later at "PayPal Completed" -- and stock has been reduced accordingly.

 

So my assumption at this point is that I would then manually change the order to "Delivered" or "Shipped" or something as I move through my self-imposed order workflow and send out the product.

 

I guess maybe I should just count myself lucky, try this test a few more times, and if all remains consistent quietly move on to downloading and installing the Super Download contribution.

 

Thanks for your responses Mark and Mandi. Sure nice to see there's such a plethora of folk on these lists who will to stand in as sounding boards when needed...

Eric

 

Yes, at this point assuming it the IPN module is working consistently, you manually change the order status to your choice such as "shipped" or "delivered" once you have shipped the item(s).

 

For testing, I use my PayPal sandbox accounts (one for the fake buyer and one for the fake store owner). I also have set up a $.01 item in my shop and run through the process "Live". PayPal will only charge a $.01 fee, if you're only doing it a few times, $.02 cents per test is reasonable. I have two live paypal accounts to do this live testing.

Link to comment
Share on other sites

For those stores hosted at GoDaddy which have IPN problems, I cannot help because the problem is quite complicated. Not only the IPN calls need to route through a proxy server, but also the mysterious database querying timeout occurs from time to time. No answer was provided from GoDaddy technical personals, they just blamed on the custom code we have here and saying that third party softwares are not to be supported by them.

Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Link to comment
Share on other sites

For those stores hosted at GoDaddy which have IPN problems, I cannot help because the problem is quite complicated. Not only the IPN calls need to route through a proxy server, but also the mysterious database querying timeout occurs from time to time. No answer was provided from GoDaddy technical personals, they just blamed on the custom code we have here and saying that third party softwares are not to be supported by them.

Thanks Alex,

 

I have two questions for you. First, is v2.3.3 "stable" for users outside of Godaddy or that do not require the proxy connection? I am wondering if this module is widely in use (aside from the Godaddy customers).

 

Secondly, if I were to pay someone to resolve the "Godaddy Proxy" mystery would you have any specific information to help lead to the solution and with your extensive experience contributing to the module, do you think a freelancer who has Godaddy experience would have much difficulty working out a resolution?

 

I have been considering paying a freelancer from www.getafreelancer.com to resolve this for Godaddy and if I did I would be more than happy to share the solution for all OSC users.

 

Thanks,

Mark

Link to comment
Share on other sites

v2.3.3 is working fine for each and every one I personally installed. You got 1 good IPN call among 20 PayPal payments, which is telling you that the scripts are working but the server is not stable. I read from other threads that there are stores hosted at GoDaddy receiving IPN updates with 30% to 50% successes. If the problem came from the code, it shouldn't be working at all. Edited by AlexStudio

Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Link to comment
Share on other sites

v2.3.3 is working fine for each and every one I personally installed. You got 1 good IPN call among 20 PayPal payments, which is telling you that the scripts are working but the server is not stable. I read from other threads that there are stores hosted at GoDaddy receiving IPN updates with 30% to 50% successes. If the problem came from the code, it shouldn't be working at all.

 

Hi Alex, I completely agree with you. I believe this v2.3.3 is a very good feature rich IPN module and I was using a previous version on a "non-Godaddy/proxy" server with success until that server started having SQL issues and I switch to Godaddy in an impulsive reaction as my website was down for over a week.

 

The reason I ask is mostly for other people who may be interested in the IPN but are reading these posts by us folks having problems on Godaddy; I though it would be good to clarify that this IPN module is mature and working well with the exceptions of the Godaddy proxy server.

 

I'd like to see this Godaddy issue resolved, do you have any specific information from your previous work on this module that would be useful for a programmer if I were to hire someone familiar with the Godaddy proxy servers to trouble shoot the issues keeping this IPN module from working smoothly on Godaddy servers?

 

Thanks Alex!

Link to comment
Share on other sites

Hi Guys

 

This has probably been answered so apologies in advance.

 

i installed today osCommerce PayPal IPN Module v2.3.3 For 2.2MS2. with a problem.

 

No values are being sent. Pay pal keeps showing the "Please provide an amount and click Update Totals" Message

 

Item name OK

QTY OK

Unit price 0

Total 0

Subtotal 0.

 

The checkout_confimation.php page displays the amount. but in the code i can see the following input

 

type="hidden" name="amount" value="0.00"

 

I’m using the sandbox testing site at the moment.

 

Hope someone can help me on this.

 

Thanks

Edited by MicroShaft
Link to comment
Share on other sites

Most likely you have this module accept a currency which doesn't exist in your store's currencies setup. Edited by AlexStudio

Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Link to comment
Share on other sites

Hello.

 

First of all Thank You for this great contribution!!

 

I was wondering if anyone could help me incorporate the code below from the checkout_process.php (Send HTML Mail V2 mod) into the paypal_ipn and ipn.php files? I'm currently using OSC MS2.2 rc2a and PayPal IPN v2.3.3

 

As per PayPal Instructions:

Note: Rule of thumb - whenever you make ANY change to checkout_process.php you MUST manually merge the change into paypal_ipn.php and ipn.php

 

Here is the code I'd like to have incorporated into Paypal email notification portion:

//BEGIN SEND HTML MAIL//

$products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n";
$products_quantity .= nl2br($order->products[$i]['qty'] . "\n");
$products_name .= nl2br("" . $order->products[$i]['name'] . $products_ordered_attributes ."\n");

if (!tep_not_null($order->products[$i]['model'])) {
   $products_model .= ''.EMAIL_NO_MODEL.'';
	 }
else
   $products_model .= nl2br($order->products[$i]['model'] . "\n");
   $products_price .= nl2br($currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty']) . "\n");
}

for ($i=0; $i<sizeof($order_totals); $i++) {
$Vartaxe .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n";
 }

if ($order->content_type != 'virtual') {
$Varaddress .= tep_address_label($customer_id, $sendto, 0, '', "\n");
 }

if (is_object($$payment)) {
$Varmodepay .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . 
				EMAIL_SEPARATOR . "\n";
$payment_class = $$payment;
$Varmodpay .= $payment_class->title . "\n";

if ($payment_class->email_footer) { 
  $Varmodpay .= $payment_class->email_footer . "\n\n";
}
 }

$Varlogo = ''.VARLOGO.'';
$Vartable1 = ''.VARTABLE1.'';
$Vartable2 = ''.VARTABLE2.'';
$Vartext1 = ' <b>' . EMAIL_TEXT_DEAR . ' ' . $order->customer['firstname'] . ' ' . $order->customer['lastname'] .' </b><br>' . EMAIL_MESSAGE_GREETING;
$Vartext2 = '	' . EMAIL_TEXT_ORDER_NUMBER . ' <STRONG> ' . $insert_id . '</STRONG><br>' . EMAIL_TEXT_DATE_ORDERED . ': <strong>' . strftime(DATE_FORMAT_LONG) . '</strong><br><a href="' . HTTP_SERVER . DIR_WS_CATALOG . 'account_history_info.php?order_id=' . $insert_id .'">' . EMAIL_TEXT_INVOICE_URL . '</a>'; 
$Varmailfooter = ''.VARMAILFOOTER.'';
$VarArticles= ''.EMAIL_TEXT_PRODUCTS_ARTICLES.'';
$VarModele= ''.EMAIL_TEXT_PRODUCTS_MODELE.'';
$VarQte= ''.EMAIL_TEXT_PRODUCTS_QTY .'';
$VarTotal= ''.EMAIL_TEXT_TOTAL.'';
$VarAddresship = ''.EMAIL_TEXT_DELIVERY_ADDRESS.'';
$VarAddressbill = ''.EMAIL_TEXT_BILLING_ADDRESS.'';
$Varmetodpaye = ''.EMAIL_TEXT_PAYMENT_METHOD.'';
$Vardetail = ''.DETAIL .'';
$Varhttp = ''.VARHTTP.'';
$Varstyle = ''.VARSTYLE.'';
$Varshipaddress =''.tep_address_label($customer_id, $sendto).'';

require(DIR_WS_MODULES . 'email/html_checkout_process.php');
$email_order = $html_email_order;

// lets start with the email confirmation

if (EMAIL_USE_HTML == 'true') {
$email_order;
} 
else
{

$email_order = STORE_NAME . "\n" . 
			 EMAIL_SEPARATOR . "\n" . 
			 EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
			 EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
			 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

 if ($order->info['comments']) {
+	$email_order .= tep_db_output($order->info['comments']) . "\n\n";
 }
 $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . 
			  EMAIL_SEPARATOR . "\n" . 
			  $products_ordered . 
			  EMAIL_SEPARATOR . "\n";
 for ($i=0; $i<sizeof($order_totals); $i++) {
$email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n";
 }

 if ($order->content_type != 'virtual') {
$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . 
				EMAIL_SEPARATOR . "\n" .
				tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";
 }
 $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" .
			  EMAIL_SEPARATOR . "\n" .
			  tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n";

 if (is_object($$payment)) {
$email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . 
				EMAIL_SEPARATOR . "\n";
$payment_class = $$payment;
$email_order .= $payment_class->title . "\n\n\n\n\n";
if ($payment_class->email_footer) { 
  $email_order .= $payment_class->email_footer . "\n\n";
}
 }

 $email_order .= "\n" . EMAIL_TEXT_FOOTER . "\n" .
					HTTP_SERVER . DIR_WS_CATALOG . "\n" . 
					EMAIL_TEXT_FOOTERR . "\n";
}

 tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, nl2br($email_order), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, '');
 $email_order=ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]","<a href=\"\\">\</a>", $email_order);

// send emails to other people

 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
$email_order = $html_email_order;

if (EMAIL_USE_HTML == 'true') {
$email_order;
} 
else
{
$email_order = STORE_NAME . "\n" . 
			 EMAIL_SEPARATOR . "\n" . 
			 EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
			 EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
			 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

 if ($order->info['comments']) {
+	$email_order .= tep_db_output($order->info['comments']) . "\n\n";
 }
 $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . 
			  EMAIL_SEPARATOR . "\n" . 
			  $products_ordered . 
			  EMAIL_SEPARATOR . "\n";
 for ($i=0; $i<sizeof($order_totals); $i++) {
$email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n";
 }

 if ($order->content_type != 'virtual') {
$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . 
				EMAIL_SEPARATOR . "\n" .
				tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";
 }
 $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" .
			  EMAIL_SEPARATOR . "\n" .
			  tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n";
 if (is_object($$payment)) {
$email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . 
				EMAIL_SEPARATOR . "\n";
$payment_class = $$payment;
$email_order .= $payment_class->title . "\n\n\n\n\n";
if ($payment_class->email_footer) { 
  $email_order .= $payment_class->email_footer . "\n\n";
}
 }

 $email_order .= "\n" . EMAIL_TEXT_FOOTER . "\n" .
					HTTP_SERVER . DIR_WS_CATALOG . "\n" . 
					EMAIL_TEXT_FOOTERR . "\n";
}
tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, nl2br($email_order), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, '');
$email_order=ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]","<a href=\"\\">\</a>", $email_order);
 } 

//END SEND HTML MAIL//

 

Any help would be appreciated. :thumbsup:

 

Thank you.

 

ski

Link to comment
Share on other sites

When you setup the IPN do you need to fill out the following fields if you are not enabling encrypted web payments?

 

"Your Private Key"

 

"Your Public Certificate"

 

"PayPal's Public Certificate"

 

"Your PayPal Public Certificate ID"

 

thanks.

Link to comment
Share on other sites

Okay, so one additional question in addition to my previous post. I have the IPN installed, and works great when orders are taken all the way through the confirmation step. Yet, if an order goes through and the user clicks on the pay button in PayPal, but leaves the screen before they hit the "confirmation" button (which reroutes the user back to the site and shows them the order success page) the payment goes through, but the order is not updated in the order history as being paid and the customers cart is not cleared out. How can this be resolved?

 

Oh, and one additional question. Say you have 15 orders that go through in one day on PayPal for $15.00, how do you tie those back to your order history in OS Commerce. I don't see any corresponding order numbers or anything between PayPal's information and OS Commerce's.

 

Thanks in advance for the help.

Link to comment
Share on other sites

When you setup the IPN do you need to fill out the following fields if you are not enabling encrypted web payments?

 

"Your Private Key"

 

"Your Public Certificate"

 

"PayPal's Public Certificate"

 

"Your PayPal Public Certificate ID"

 

thanks.

No, you do not need to put any values here if you are not using encrypted web payments

 

Okay, so one additional question in addition to my previous post. I have the IPN installed, and works great when orders are taken all the way through the confirmation step. Yet, if an order goes through and the user clicks on the pay button in PayPal, but leaves the screen before they hit the "confirmation" button (which reroutes the user back to the site and shows them the order success page) the payment goes through, but the order is not updated in the order history as being paid and the customers cart is not cleared out. How can this be resolved?

 

Oh, and one additional question. Say you have 15 orders that go through in one day on PayPal for $15.00, how do you tie those back to your order history in OS Commerce. I don't see any corresponding order numbers or anything between PayPal's information and OS Commerce's.

 

There are several reasons this may be happening, in my case I am hosted on Godaddy which is notorious for having problems recieving the return IPN information from PayPal which changes your order status in the admin panel. I've also read that from time to time, PayPal's IPN has been slow to respond but they claim all transactions do get a response, even if it is delayed. If you don't get an IPN response, you have to manually subtract your inventory levels and manually change the status. So far, the only solution for this I have found if you are using a host such as Godaddy is to switch hosing providers.

 

Even if you don't get an IPN post back to your site, you should be getting an email at your primary PayPal account email address which has the customers name and address, the transaction amount and the order OSC order ID number. I use Outlook to filter all order emails into an ORDERS folder and all PayPal payment emails into a NEED2SHIP folder. If you don't get the IPN post back, I don't know of any other way to update the OSC status and inventory other than manually.

Link to comment
Share on other sites

oupons by Ingo with PayPal IPN

 

Hi, ,

 

I using Paypal_IPN in my site, looks it does not work with 'Coupons By Ingo' contribution.

 

everything looks fine until click 'confirm order' button and goes to Paypal site, coupon parts not deducted at paypal site. that is 'coupon' works in last page in my site which looks like

 

Sub-Total: $168.00

Coupon (XSrHKccN): $-5.00

Total: $163.00

 

but after click 'confirm order' button, the page goes to paypal.com and the payment still be 168$ but not 163$

 

many appreciate if you can help us work out.

 

ray.

Link to comment
Share on other sites

There are several reasons this may be happening, in my case I am hosted on Godaddy which is notorious for having problems recieving the return IPN information from PayPal which changes your order status in the admin panel. I've also read that from time to time, PayPal's IPN has been slow to respond but they claim all transactions do get a response, even if it is delayed. If you don't get an IPN response, you have to manually subtract your inventory levels and manually change the status. So far, the only solution for this I have found if you are using a host such as Godaddy is to switch hosing providers.

 

Even if you don't get an IPN post back to your site, you should be getting an email at your primary PayPal account email address which has the customers name and address, the transaction amount and the order OSC order ID number. I use Outlook to filter all order emails into an ORDERS folder and all PayPal payment emails into a NEED2SHIP folder. If you don't get the IPN post back, I don't know of any other way to update the OSC status and inventory other than manually.

 

Thank you mmph very much for your response. That makes perfect sense. I would like to add one more question if you would not mind. It's about the order information between OS Commerce and PayPal. I see that OS C provides an invoice number (i.e. invoice #17), but that number does not appear in PayPal anywhere. PayPal gives it a completely new number on their site and does not even send that number back to OS C. Sos, is the e-mail the only way to find out what that number is? Is there no way to get that order number (or some type of corresponding number) passed to PayPal from OS C or Vice Versa? Thanks again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...