Jump to content

t_jones_tech

Members
  • Content count

    10
  • Joined

  • Last visited

Profile Information

  • Real Name
    Ted Jones
  1. t_jones_tech

    One Page Checkout Support

    Well folks, I have everything mostly working, but with the 'PayPal IPN Module 2.3.4.7' payment module, when a user is not logged in, he/she receives the pop-up error "There was an error setting payment method.......etc." This error occurs while the checkout page is processing the freshly entered billing address info. Seems to work fine when the user logs in, so there must be a difference in how it is interacting with the module based on logon state. I've already tried commenting out the two error message lines suggested earlier in this thread, no luck. Ideas and solutions most welcome.
  2. t_jones_tech

    One Page Checkout Support

    Never mind, I solved it. Change line 433 in checkout.php from onePage.updateAddressHTML('payment'); to onePage.updateAddressHTML('billing'); Just a typo.
  3. t_jones_tech

    One Page Checkout Support

    Hi Steve, Thanks for the reply. I was looking at that function exactly just a few days ago, but had no idea what to do with it. Perhaps I'll try swapping the 'shipping' condition for billing.
  4. t_jones_tech

    One Page Checkout Support

    Has anyone figured out how to solve the issue when you log in and then try to update your billing address on the checkout page (the address does not change until the page is reloaded). The shipping address works fine after fixing the obvious typo in the code, but the billing address is still borked and won't refresh properly... I'm leaning toward checkout.js as the source of the issue...... anyway, if you know more than I do (which would be pretty easy!) do share the fix. :) Thanks! PS It works fine on the demo site. So either they have something newer than 1.06 or it's something that relies on something else that can vary between servers/file versions.
  5. t_jones_tech

    "Sorry - your last action could not be completed" - PayPal

    PayPal echos that message when your cookies are turned off.
  6. t_jones_tech

    Official PayPal IPN Support Thread

    No problem.... here is an easy fix.... around line 298 in ipn.php $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . change to: $email_order = STORE_NAME . "\n\n"; if ($content_type == 'virtual') { $email_order .= EMAIL_DOWNLOAD_LINK . "\n\n"; } $email_order .= EMAIL_SEPARATOR . "\n" . in catalog\includes\languages\english\modules\payment\paypal_ipn.php add before end "?>": define('EMAIL_DOWNLOAD_LINK', 'Dear Customer, Thanks for purchasing our software. Here is the link to your download: http://www.mysite.com/download/file.zip'); Edit as needed. Might want to change the download location or filename now and then too. Now, anyone have any idea about my problem? :)
  7. t_jones_tech

    Official PayPal IPN Support Thread

    Hi Todd, have you tried the PayPal Standard module that comes with the default OSC installation? I found it to have fewer bugs than the IPN module overall - the issue with it for me is that it was not always sending the confirmation emails unless folks waited for PayPal to auto-forward them back to the site, which would trigger the emails. You could just tell folks on the checkout_confirmation page to wait for the auto forward to happen in order to complete their order. Might work for now.
  8. t_jones_tech

    Official PayPal IPN Support Thread

    OK, I moved this bit from line 314 of ipn.php to line 158, at the start of the product loop before the stock deduction. tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_id = '" . (int)$_POST['custom'] . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " where customers_id = '" . (int)$_POST['custom'] . "'"); ....that should do it, because when the user comes back to the site, the cart can't be still filled without the stock being there, because now the script should delete those lines in the basket table from the database BEFORE removing the stock quantity. However, the change does nothing. Does $_POST['custom'] even do anything here? That's what I'm not sure about. This code might be broken.
  9. t_jones_tech

    Official PayPal IPN Support Thread

    Replying to myself, the cart emptying before the user gets back to the site is 50/50, and I'm sitting here theorizing why that might be the case. The only thing I can come up with is that PayPal is not pinging the ipn.php script within the 5 second window every time, i.e., sometimes it takes 5 seconds to contact my server with a transaction success, sometimes 7, etc. So, is there any way, other than just putting the cart removal in the front-end script, to get it to do it sooner? (We can't put the cart clearing code in the front-end script because if someone cancels the PayPal transaction and comes back to the site, we want the cart contents to still be available to them, clearly.)
  10. t_jones_tech

    Official PayPal IPN Support Thread

    Hi all, I am using PayPal IPN Module 2.3.4.7 by olsonsp4c, and I seem to be having customer cart update issues. (Stock is always deducted, emails always sent... no issues there.) When the customer pays on the PayPal website, the confirmation screen says something like "you will be forwarded in 5 seconds...." and when that happens, the customer is returned to the site, but to the wrong page. What they see is the shopping cart with an error message indicating the item is out of stock. That, of course, is because they just bought it! However, if the customer clicks the link on the PayPal screen that says 'go there now' or whatever, he or she is forwarded to the correct page, that is, the checkout_success, the cart is emptied, and all is well. I tried turning OFF the auto forward I have set up in my PayPal account (to www.mysite.com/checkout_process.php) and the customer just sees the button on the PayPal site that says 'return to the site to complete the order' or somesuch. However, when he or she clicks that button, the same problem occurs. So, the only time things work right is when I have the auto forward set up in my PayPal account and the customer is very impatient and clicks the 'I don't want to wait to be forwarded' link. The question is, HOW can I get the IPN module to behave like that all the time? Throw some code at me! Thanks!
×