Jump to content

fasteddie

Members
  • Content count

    70
  • Joined

  • Last visited

1 Follower

Profile Information

  1. fasteddie

    PayPal_Shopping_Cart_IPN

    Hmm, still no IPN info from the actual Paypal payment. And this is thus blank (PayPal Customer Registration Details). I did get an IPN notice from the ipn-test.html page, though. I guess as long as I get the order details, it's not really a big issue for me, as that was the main problem I was having before. :P I am using the fixed paypal/ipn.php file. Also, I accidentally Uninstalled the Paypal payment module, and was sad to see all my settings got erased too. Would be nice if there was a Are You SURE you want to uninstall the module before it does it, or perhaps have it still save all the settings...
  2. fasteddie

    PayPal_Shopping_Cart_IPN

    Thanks Greg, after using the test ipn page, the order did change to Pending. Now time for a live Paypal payment test. :P
  3. fasteddie

    PayPal_Shopping_Cart_IPN

    I just don't get past the pending payment for the order. And yes, I did upload the /catalog/ipn.php as well. Any other tips Greg? I'd like to haev it completely working, but this is definitely better than the internal Paypal method, which left me without order info at least 3-4x already... thanks!
  4. fasteddie

    PayPal_Shopping_Cart_IPN

    But when I try to leave the URL empty (ie. http://) it doesn't let me leave the screen, and ask me to enter a URL. Which URL do I need to use then? Thanks in advance & Keep up the good work mate! You have to select the http:// line and empty it, then hit Save. :)
  5. fasteddie

    PayPal_Shopping_Cart_IPN

    Hmmm, another test run seemed to work fine as far as the user's side is concerned. However, after Paypal payment, my database still shows the order as Pending Payment. The Paypal page did return the user back to my site to the checkout_success.php page. I have nothing in my Paypal IPN Notifcations on my admin side and when I click on the order details all the Paypal info is blank: PayPal Customer Registration Details First Name: Last Name: Business Name Address Name Address Street Address City Address State Address Zip Address Country E-Mail Address: Ebay ID Payer ID Payer Status Address Status PayPal IPN Transaction Details # Payment Type Payment Status Pending Reason Invoice Payment Date Last modified Currency Gross Amount Payment Fee Exchange Rate No Of Cart Items
  6. fasteddie

    PayPal_Shopping_Cart_IPN

    Yup, I actually messed around and figured that part all by myself. Thanks for the tips Greg!
  7. fasteddie

    PayPal_Shopping_Cart_IPN

    I'm using the 16 Apr 2003 - Random Order Number contribution here: http://www.oscommerce.com/community/contri...l/search,random Okay, I've edited the paypal/checkout_process.php like the contrib states, however, I'm not sure where to put these lines: -- Paste Randomizing Script right before this line in checkout_process.php // load the before_process function from the payment modules ///////////////// RAMDOMIZING SCRIPRT BY PATRIC VEVERKA \\\\\\\\\\\\\\\\\\ $t1 = date("mdy"); srand ((float) microtime() * 10000000); $input = array ("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"); $rand_keys = array_rand ($input, 2); $l1 = $input[$rand_keys[0]]; $l2 = $input[$rand_keys[1]]; $r1 = rand(0,9); $ordernum = '1'.$t1.$r2.$r3.$r1; ///////////////// End of Randomizing Script \\\\\\\\\\\\\\\\\\\
  8. fasteddie

    PayPal_Shopping_Cart_IPN

    Okay, that Paypal IPN part worked. Now to figure out my order number problems! :)
  9. fasteddie

    PayPal_Shopping_Cart_IPN

    Perhaps the problem is I didn't enable Paypal IPN on the Paypal website? In your instructions, it says not to put a URL, however, when I try to tick the IPN box but not have a URL on Paypal's site, it says: You must enter a properly formatted URL into the notification URL field in order to activate Instant Paypal Notification.
  10. fasteddie

    PayPal_Shopping_Cart_IPN

    Yes, Greg, indeed there was. I deleted that test order. It looks like it's working now! At least the user gets sent to the Paypal payment page and they get returned to my site after payment. However, the order is NOT showing up on my Orders Page. In my orders database, there is no orders_id for that order. I do recall doing a mod that changes the order number so it's not just 1,2,3,4,5 and it's some kind of order number based on date too. An example of one of my order numbers is 1100403452 which would be 1 then date 10/04/03 then randomly generated 3 numbers, 452... Hope I can fix this!!! Hmm, just tried a test order with paying via money order and that order goes went through fine, and it generated an orders_id as well.
  11. fasteddie

    PayPal_Shopping_Cart_IPN

    Ok, new problem this morning. 2Checkout and Money Order/Cashier's Check checkouts seem to work, but Paypal is broken. When I hit CONFIRM ORDER, I get this error: 1062 - Duplicate entry '' for key 1 insert into orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, date_purchased, orders_status, currency, currency_value) values ('44', 'test testtt', '', '4062 s 4th', '', 'las', '90320', 'California', 'United States', '4105623253', 'test@yorkietalk.com', '2', 'test testtt', '', '4062 s 4th', '', 'las', '90320', 'California', 'United States', '2', 'test testtt', '', '4062 s 4th', '', 'las', '90320', 'California', 'United States', '2', 'PayPal', '', '', '', '', now(), '4', 'USD', '1.00000000') [TEP STOP] Any ideas on what I did now? :P
  12. Wow, that is some quick service! Thanks Greg! I guess I really shouldn't be coding at night, but what other time would a store be slow? :) Well, it LOOKS like it'll work, but that darn Paypal is down for maintenance right now. Thanks for the help, cheers mate! :P
  13. Yikes, dunno what happened. I double checked and I believe I did everything right in the how-to... Parse error: parse error in /usr/home/hosting/bloominglily.com/public_html/catalog/includes/classes/order.php on line 120 Fatal error: Cannot instantiate non-existent class: order in /usr/home/hosting/bloominglily.com/public_html/catalog/checkout_shipping.php on line 45 I get that when I hit the Checkout button now! Help please!!! THANKS! :) Here's starting with line 107: 'id' => $orders_products['products_id'], //begin PayPal_Shopping_Cart_IPN 'orders_products_id' => $orders_products['orders_products_id'], //end PayPal_Shopping_Cart_IPN 'name' => $orders_products['products_name'], 'model' => $orders_products['products_model'], 'tax' => $orders_products['products_tax'], 'price' => $orders_products['products_price'], 'final_price' => $orders_products['final_price']); $subindex = 0; //begin PayPal_Shopping_Cart_IPN $attributes_query = tep_db_query("select products_options_id, products_options, products_options_values_id, products_options_values, options_values_price, price_prefix from " . TABLE_ORDERS_PRODUCTS_ATTRIBUTES . " where orders_id = '" . (int)$order_id . "' and orders_products_id = '" . (int)$orders_products['orders_products_id'] . "'"); //end PayPal_Shopping_Cart_IPN (int)$order_id . "' and orders_products_id = '" . (int)$orders_products['orders_products_id'] . "'"); if (tep_db_num_rows($attributes_query)) { while ($attributes = tep_db_fetch_array($attributes_query)) { $this->products[$index]['attributes'][$subindex] = array( //begin PayPal_Shopping_Cart_IPN 'option_id' => $attributes['products_options_id'], 'value_id' => $attributes['products_options_values_id'], //end PayPal_Shopping_Cart_IPN 'option' => $attributes['products_options'], 'value' => $attributes['products_options_values'], 'prefix' => $attributes['price_prefix'], 'price' => $attributes['options_values_price']); $subindex++; 120 is: (int)$order_id . "' and orders_products_id = '" . (int)$orders_products['orders_products_id'] . "'"); on checkout_shipping, line 45 is: $order = new order;
  14. perhaps another BUG with the coupons. When you edit a currently available (in use) coupon, the default expiration date changes to a year from start of the coupon, and does not hold the date you set previously...
  15. I have a question regarding coupon codes. I currently offer Free Shipping on Orders $50 and over. I would like to add a $10 off $50 coupon. However, I do NOT want free shipping to apply to these orders using a coupon unless the order with coupon applied is $60 or more. I do not want to change my Free Shipping offer to Orders $60 or more. I can not figure out a way to calculate the shipping AFTER the coupon code is applied. The current shipping seems to calculate the Subtotal and not Subtotal - Coupon. Also, I tried moving the Sort Order to Coupon first, but that didn't work either. For example, someone orders $56 of stuff and uses $10 coupon. I would like the Total to be $56 - $10 + $5 shipping = $51. Currently, it does $56 - $10 + $0 shipping = $46. Another example, someone orders $60 of stuff and uses $10 coupon. This currently does work, as it calculates $50 - $10 + $0 shipping = $50.
×