Official PayPal IPN Support Thread
#461
Posted 16 July 2005, 16:32
This is mine:
Order Total data never gets entered into the osCommerce database from the paypal_ipn.php page, and so otherwise successful PayPal orders aren't showing up in the Administrator interface. (Customers are being redirected back to the site, etc.)
I've done some tests, so I have some clues.
I believe that when it gets to this line (near line 116):
for ($i=0, $n=sizeof($GLOBALS[$class]->output); $i<$n; $i++)
the '$GLOBALS[$class]->output' array is empty, and so it never gets to the curly brackets that create the $order_totals[] array.
Hm. Can anybody hand me down their higher wisdom on this one?
Why might that '$GLOBALS[$class]->output' array be empty?
#462
Posted 16 July 2005, 16:58
Furrawn, on Jul 16 2005, 04:32 PM, said:
This is mine:
Order Total data never gets entered into the osCommerce database from the paypal_ipn.php page, and so otherwise successful PayPal orders aren't showing up in the Administrator interface. (Customers are being redirected back to the site, etc.)
I've done some tests, so I have some clues.
I believe that when it gets to this line (near line 116):
for ($i=0, $n=sizeof($GLOBALS[$class]->output); $i<$n; $i++)
the '$GLOBALS[$class]->output' array is empty, and so it never gets to the curly brackets that create the $order_totals[] array.
Hm. Can anybody hand me down their higher wisdom on this one?
Why might that '$GLOBALS[$class]->output' array be empty?
#463
Posted 16 July 2005, 18:13
Email order confirmation will not show the selected attribute list as $languages_id is not defined in query line 488 / 491.
In catalog/includes/modules/payment/paypal_ipn.php look for the global statement - line 409
- immediately following "function before process() {"
and change to:
global $customer_id, $order, $sendto, $billto, $payment, $currencies, $cart, $cart_PayPal_IPN_ID, $languages_id;
Flawlessnet
#464
Posted 16 July 2005, 18:16
Furrawn, on Jul 16 2005, 04:58 PM, said:
Seems unlikely - more likely to be because $insert_order is false I would think.
Flawlessnet
#465
Posted 17 July 2005, 03:11
It's after, at this line:
for ($i=0, $n=sizeof($GLOBALS[$class]->output); $i<$n; $i++) {
that the curly brackets just don't wanna hear about it...
thanks, though.
anyone else have trouble with order total data not getting recorded even after successful PayPal orders?
Ian-San, on Jul 16 2005, 06:16 PM, said:
#466
Posted 17 July 2005, 17:18
I have Downloads Controller 5.3 working like a dream
I have an ammended Master Products which allows slaves (tracks) or complete album downloads
With all products at zero cost it works perfectly, I can "buy" individual tracks or albums and all the right tracks or albums appear for download after the "purchase" is confirmed
However, when I introduce pricing, PayPal works fine with slave products but when I purchase a Master (in this case an album's worth of tracks), although the purchase goes through OK, I don't have any tracks to download as I do when I purchase the tracks individually.
I have downloaded the latest patch which may sort the problem, but I have to admit to having dificulty with the "diff-file", I just don't understand the instructions...maybe I have been at the screen too long today. Has anyone installed this, slightly clearer instructions (for aging hippy) would be really gratefully received!!
Alternatively, this problem may be caused by something else. Be very grateful for guidance!!!
Steve
Edited by Sierrab, 17 July 2005, 17:20.
#467
Posted 21 July 2005, 23:52
We are sorry that we are experiencing temporary difficulties. Please try again later.
Message 5302
This happens after I click on the confirm order button. I'm right now using the sandbox. Does anyone know how to fix this or any ideas?
Sorry if this was not the right area to ask this question.
#468
Posted 22 July 2005, 00:09
tegralens, on Jul 21 2005, 11:52 PM, said:
We are sorry that we are experiencing temporary difficulties. Please try again later.
Message 5302
This happens after I click on the confirm order button. I'm right now using the sandbox. Does anyone know how to fix this or any ideas?
Sorry if this was not the right area to ask this question.
It just means that PayPal are in the process of updating software on the server and access is slow or restricted.
Flawlessnet
#469
Posted 22 July 2005, 11:58
Ian-San, on Jul 21 2005, 08:09 PM, said:
The thing is that I've tried different times and days and i always get the same error. Any ideas
#470
Posted 23 July 2005, 10:53
I'm sure this has been posted somewhere before, but I can't seem to find it in the forums anywhere (maybe osc could use google for the search in the next forums release)
On the checkout_process.php page the default background color for the page is white. My personalized image for that page has a black matt and it looks horrible and very unprofessional. I'd like to make the background color black instead of white. Can anyone tell me how to change the styles for this page?
- Albert Einstein
#471
Posted 23 July 2005, 13:05
wayoutpost, on Jul 23 2005, 10:53 AM, said:
You will more than likely get a better response if you dont hijack threads with un related questions.
I would suggest that you start a new topic which is specific to your problem.
#472
Posted 25 July 2005, 11:16
MarcoZorro, on Jul 23 2005, 01:05 PM, said:
I would suggest that you start a new topic which is specific to your problem.
Calmate, Zorro. This is very much on topic. I'm talking about the Paypal IPN page that appears before you are taken to Paypal.com to make your payment. The background of this page is white. I didn't have this white page before I installed this contrib.
Sheez...
- Albert Einstein
#473
Posted 25 July 2005, 11:41
wayoutpost, on Jul 25 2005, 11:16 AM, said:
This contribution does not install any extra pages its a drop in module that requires no core code changes. So its likely you installed a different IPN module.
#474
Posted 25 July 2005, 17:01
I've seen a couple of similar post to this one, but not been able to find an exact match.
Like most people i guess, i've had a customer who hasn't pressed the final button in paypal and although i've had the payment the order is still stuck in his basket!
I've installed the ipn contrib, but the total amount is not been passed to paypal. I've tried both the "per item" and the "aggregate" options but neither option sends the amount through.
any ideas? or any suggestions would be most welcome
thanks
rob
#475
Posted 25 July 2005, 17:51
leitel, on May 8 2005, 04:15 PM, said:
When verifying Discount Coupon.. checkout_confirmation shows correct adjusted total (discount is redemed). But....... when it proceed to PayPal, the discount coupon is NOT reflected.
What have I done.
Although the confirmation page shows discount AND hidden values passed to PayPal reflect correct values INCLUDING amount equal to the adjusted total, PAYPAL ignores and shows the total WITHOUT the discount.
Is there somewhere I can look? Is there a patch? Is anyone else experiencing this?
Thanks!
I too have tried to get discount modules and indeed the "payment type surcharge" module to pass the amounts to Paypal but it does not
If any one else has a work around that would be great
Edited by livefooduk, 25 July 2005, 17:52.
Steve
#476
Posted 26 July 2005, 11:27
I'm spent from reading this whole thread. I can't find an answer to my issue.
Installed osCommerce-PayPal_IPN-v1.1, and when I go to checkout confirmation in OSC , the Paypal login page shows up (https://www.sandbox.paypal.com/cgi-bin/webscr), instead of the payment page that should allow you to enter in your CC details straight away.
Tried lots of combinations of admin setup variants, but I have no idea what's going on here.
Is there anyone out there that can give me some information about this.
Regards
Aaron
#477
Posted 26 July 2005, 13:17
#478
Posted 27 July 2005, 21:47
Is this normal or just me?
Monika
addicted to writing code ... can't get enough of databases either, LOL!
my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum
Interactive Media Award July 2007 ~ category E-Commerce
my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
#479
Posted 28 July 2005, 03:52
http://www.oscommerce.com/community/contributions,2679
#480
Posted 28 July 2005, 06:00
MarcoZorro, on Jul 28 2005, 05:52 AM, said:
http://www.oscommerce.com/community/contributions,2679
I have this happen with the team IPN mod. Database is fine, just no emails sent when users do not return to the site.
Monika
addicted to writing code ... can't get enough of databases either, LOL!
my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum
Interactive Media Award July 2007 ~ category E-Commerce
my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...














