Jump to content

Lucky Bastard

Members
  • Content count

    118
  • Joined

  • Last visited

Profile Information

  1. Lucky Bastard

    Official PayPal IPN Support Thread

    So does the ipn.php get called when you use the sandbox? Because mine isn't. If so, at what point in the payment screens is it called?
  2. Lucky Bastard

    Official PayPal IPN Support Thread

    I am not trying to change the directory structure of the ext folder. I am trying to work out why the ipn.php file is not being called. I put debug code in the ipn.php file but it doesn't get called by payPal.
  3. Lucky Bastard

    Official PayPal IPN Support Thread

    Ok, it would seem my ipn.php file isn't been called by PayPal. (I am using the SandBox). I put some debug code at the top of the ipn.php file and the devug code isn't being executed. I loaded the 'ipn.php' file directly in the browser (as suggested by the trouble shooting notes,ie. http://www.mydomain.com/_/ipn.php) and the debug code gets executed when doing this. At the order confirmation screen I do a view source and make sure the notify_url is correct, and it is. Why isnt it being called? When, in SandBox mode, is this ipn.php file called?
  4. Lucky Bastard

    Official PayPal IPN Support Thread

    Ok, it would seem my ipn.php file isn't been called by PayPal. (I am using the SandBox). I put some debug code at the top of the ipn.php file and the devug code isn't being executed. I loaded the 'ipn.php' file directly in the browser (as suggested by the trouble shooting notes,ie. http://www.mydomain.com/_/ipn.php) and the debug code gets executed when doing this. At the order confirmation screen I do a view source and make sure the notify_url is correct, and it is. Why isnt it being called? When, in SandBox mode, is this ipn.php file called?
  5. Lucky Bastard

    Official PayPal IPN Support Thread

    Ok, thanks, I got it working. Now they are returned to my checkout_process.php and sent to checkout_success.php. I am curious though how does the checkout_process.php know not to create the order in the DB and send confirmation email? (as this has already been done) ALso is there any way to make it so that the customer DOESN'T have to click the "Complete your Order Confirmation" button - so that PayPal automatically redirects them back to the store. 2CheckOut has such an option. Lastly, should the order update automatically from Preparing [PayPal IPN] (to whatever the next status is) once the customer is returned back to out store? This didn't happen for me.
  6. Lucky Bastard

    Official PayPal IPN Support Thread

    What is the difference with the IPN module and the regular Paypal module that comes with osCommerce? I am moving from 2CO to PayPal. I am having trouble with the latest IPN module. Firstly it calculates the amounts to be 0. My fix for this is to remove the * $currencies->get_value($my_currency) from the following lines: if(MOVE_TAX_TO_TOTAL_AMOUNT == 'True') { $parameters['amount'] = number_format(($subtotal + $order->info['tax']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } else { // default $parameters['amount'] = number_format($subtotal * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); $parameters['tax'] = number_format($order->info['tax'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } if ($order->content_type != 'virtual') { $parameters['shipping'] = number_format($order_total['ot_shipping'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } $parameters['handling'] = number_format($order_total['ot_loworderfee'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); I am not sure what the * $currencies->get_value($my_currency) is supposed to achieve but I know it zeros the 'amount'. My currency is set to AUD Secondly, with the above fix, I go to do a sandbox payment, and I succeed with the payment, then click the button to return to merchant site, and it goes off but never returns to my site. It gets stuck at: https://www.sandbox.paypal.com/checkout_process.php (not sure why checkout_process.php is being added to the PayPal domain. I have installed the mod as is, and only made the 1 small change as mentioned earlier. please help
  7. Lucky Bastard

    2checkout v2 on OSC 2.2

    Still no one able to get V2 of 2CO to work in osCommerce??
  8. Lucky Bastard

    Category Tab ver1.3 + STS templating

    I had trouble with those 2 contributions (STS and Category Tabs with Subs) running together back when I started out in osCommerce. Rather than trying to find the solution (which there probably was one) I decided to go with BTS and Category Tabs with Subs.
  9. Lucky Bastard

    BTSv1.2 Support

    Anyone?? See question in above post?
  10. Lucky Bastard

    BTSv1.2 Support

    Yep, certainly did, and played around with it, but nothing I did worked, even though I am sure I was on the right track. But guess what, got that issue fixed now, it was what I looked at before, but for whatever reason when I did it last time it didn't work (cos I changed something wrongly no doubt). BTW, is it only my install, that pages like edit address book entry and other pages that use the address_book_process.php show in the header : Store Name : HEADING_TITLE The reason is obvious, in address_book_process in lang/eng it has what you would expect, not one HEADING_TITLE constant defined, as many pages use that address_book_process.php, but rather there is one defined for each page, such as HEADING_TITLE_ADD_ENTRY,HEADING_TITLE_MODIFY_ENTRY. Then you look in the meta_tags.php under the case CONTENT_ADDRESS_BOOK_PROCESS, and it obviously only referes to HEADING_TITLE. There is no switch ow whatever to determin WHICH HEADING_TITLE to use. Is that normal for a BTS install, or has mine somewhere along the line got messed up? If that later, any suggestions on a neat way of fixing it? I have a method I hink (just an if statement within the case based on the HTTP_GET_VARS) but I want to know if anybody else has a better/neater method. ;) Thanks for the help guys!!
  11. Lucky Bastard

    Master Products - MS2

    This is a fairly hot thread. So is anybody able to answer my question from a few pages back : Great contribution, but the length of this thread is daunting! Have read a total of 32 pages so far!! Before I go any further can someone please answer a question? I have a gift hamper site. My gift hampers may have many items. Each item can be in many hampers. The hampers are for sale and display, the individual items are not (yet). I would like to track the inventory of the items. If I have hampers as masters and items as slaves - will this contribution allow for the many-to-many relationship? (I read it was probably coming but my reading hasn't yet got to the point where it has been incorporated without doing a copy slave which is problematic for inventory recording). Thanks!! Take care!
  12. Lucky Bastard

    BTSv1.2 Support

    Bundy, unfortunately not - no replies to my question :( Before posting my question I had a feeling I knew how to do it, but when I went ahead to make the mods I thought were required nothing changed - so I just undid those mods, then posted here HOPING for help (which has eluded me so far). Do you know how to change it?
  13. Lucky Bastard

    Master Products - MS2

    Great contribution, but the length of this thread is daunting! Have read a total of 32 pages so far!! Before I go any further can someone please answer a question? I have a gift hamper site. My gift hampers may have many items. Each item can be in many hampers. The hampers are for sale and display, the individual items are not (yet). I would like to track the inventory of the items. If I have hampers as masters and items as slaves - will this contribution allow for the many-to-many relationship? (I read it was probably coming but my reading hasn't yet got to the point where it has been incorporated without doing a copy slave which is problematic for inventory recording).
  14. Lucky Bastard

    BTSv1.2 Support

    So anybody able to help me with my question posted earlier : THANKS IN ADVANCE!!
  15. Lucky Bastard

    Category Tabs with Subs

    Anyone???
×