Jump to content

ValleyRoaster

Members
  • Content count

    101
  • Joined

  • Last visited

Posts posted by ValleyRoaster


  1. I got this to print both Invoice and packing slips, that will be printed, Invoice first then Packing slip for each order. A pretty simple hack.

     

    Step 1. Create a new file by copying /admin/print_batch_invoice.php to admin and renaming it print_batch_packingslip.php

     

    Step 2: In newly named print_batch_packingslip.php Edit the text between <!-- body_text //--> Place your current admin/packingslip code here from between the same body_text markers may differ somewhat from install to install <!-- body_text_eof //-->

     

    Step3: Edit admin/print_batch_process lines 82-84 to this

    $oID = $order_number;

    include('print_batch_invoice.php');

    include('print_batch_packingslip.php');

     

    That's what I did and it seems to work fine. I might work on fine tuning it and adding it to the contrib. I wanted to give a choice of what to print, but I think this is better for our operation. I will just have to see what the head of the Order Fulfillment Dept has to say!


  2. I have the Dwolla payment method installed and I it works OK when I don't have the One Page Checkout enabled, but with OPC enabled it does not show the box to enter the account number.

    I realize you may not have any experience with Dwolla, but the Dwolla thread will have no experience with OPC. I will also post this there.

     

    I am trying to find how to adjust this but I am not the best at php code let alone java, ajax, flash stuff.


  3. I have the Dwolla payment method installed and I it works OK when I don't have the One Page Checkout enabled, but with OPC enabled it does not show the box to enter the account number.

    I realize you may not have any experience with One Page Checkout, but the OPC thread will have no experience with Dwolla. I will also post this there.


  4. I have been trying to get my CCGV addon to work completely correct and I am kind of stumped for awhile. If the voucher is less than the order it works just fine, if order is same as voucher or order is less than voucher balance, my site will not get past checkout payment.

     

    I have one page checkout installed too. Same results when I don't use the One Page Checkout. So this tells me it is in the core code someplace, correct?

     

    So a recap:

     

    If order is more than voucher it works great!

     

    When voucher balance is more than order or equal to order it prompts for payment method but does not allow me to select both voucher and payment.

     

    Anyone have an idea where/what the fix is?


  5. I have been trying to get my CCGV addon to work completely correct and I am kind of stumped for awhile. If the voucher is less than the order it works just fine, if order is same as voucher or order is less than voucher balance, my site will not get past checkout payment.

     

    I have one page checkout installed too. Same results when I don't use the One Page Checkout. So this tells me it is in the core code someplace, correct?

     

    So a recap:

     

    If order is more than voucher it works great!

     

    When voucher balance is more than order or equal to order it prompts for payment method but does not allow me to select both voucher and payment.

     

    Anyone have an idea where/what the fix is?


  6. I have been trying to get my CCGV addon to work completely correct and I am kind of stumped for awhile. If the voucher is less than the order it works just fine, if order is same as voucher or order is less than voucher balance, my site will not get past checkout payment.

     

    I have one page checkout installed too. Same results when I don't use the One Page Checkout. So this tells me it is in the core code someplace, correct?

     

    So a recap:

     

    If order is more than voucher it works great!

     

    When voucher balance is more than order or equal to order it prompts for payment method but does not allow me to select both voucher and payment.

     

    Anyone have an idea where/what the fix is?


  7. GIFT VOUCHERS WITH ONE PAGE CHECKOUT

    Have site running One Page Checkout and trying to get Credit Class Gift Voucher working with it.

    Using: OSC2.2rc2a with CCGV5.21 & OPC1.3

     

    On one page checkout,if the order value is less than available gift vouchers

    select the checkbox "to be used from Gift Vouchers" (which deactivates the payment radio buttons)

    press the confirm button gives 2 error messages:

     

    Message from webpage

    --------------------------------

    Payment Selection Error

    --------------------------------

    You must select a payment method

    --------------------------------

    Payment Selection Error

    --------------------------------

    You must select a payment method

    --

    OK

    --

     

    these are the 2 error messages from /includes/checkout/checkout.js lines 1476 to 1498

     

    How do I prevent the errors when I select "to be used from Gift Vouchers";

     

    any help would be greatly appreciated.

    Mark.

     

    I am having the same trouble. Has anyone figured this out?


  8. I have One Page Checkout installed on 2 of my catalogs and they both work OK. We are missing the billing state and shipping state in the admin side of the order. I have done testing with my test account and the state shows up just fine on the checkout page during checking out. No state on order from the admin side for invoices or packing slips, it is also missing from the database too. I have searched for a fix to no avail.


  9. The orders are missing the state in my admin area and in the order history. The invoice and packing slip too. Orders go through just fine, the state is in the email sent to customer, just not in the admin area or a customer order history. I have now installed order editor so I can fix it from there, until I find a perm fix.

     

    Any ideas?


  10. I have UPS XML working just fine, but when I enable Onepage Checkout it doesn't and comes back with this error code

    110206: Missing/Illegal ShipTo/Address/StateProvinceCode

     

    I posted a similar question on the Onepage Checkout thread (with a screenshot) also.

     

    It seems to be a conflict with onepage checkout, but they want to charge for a fix, I think the fix can be found here on this topic, I just have yet to find it.


  11. I am running tests on my test server and db, upgrading my stores. I have the test store almost done, but when I try to check out as an exsisting customer I get this error from the UPS XML, see screen shot below.

    110206_Error.jpg

     

    When I disable One Page Checkout UPS works fine. When in Onepage Checkout Why can't UPS XML find the Missing/Illegal ShipTo/Address/StateProvinceCode?

     

    Any help out there?


  12. I somehow had a hacker run about 50 cards using my authorize.net gateway most were declined but 7 were good cards, we voided those transactions no major crisis just need to reset my transaction key to prevent further atempts.

     

    When I go to save the new key I get this error:

     

    Fatal error: Call to undefined function gc_makeSqlString() in /home/ourcoffe/public_html/estore/admin/modules.php on line 61

     

     

    I tried an older backup of my modues.php that I know had not changed too and I got the same error.

     

    Now I have reset the key on Authorize.net and I have just 24 hours to get the new one on my site!

     

     

    How do I fix this?


  13. Hi Pete,

     

    Are you sure you are using a current and upto date version of the google base feeder.

     

    These are the headers that are now used by google base:

    I would suggest you use this contribution http://addons.oscommerce.com/info/4513

     

    Aran

     

    I already had it installed and I guess somewhere along the line I deleted the wrong bookmark to the new googlefeeder link! I was just using an old bookmark. DUH!!!! I guess I can still make a dumb mistake after 5 years!!!


  14. Hello all!

     

    I have tried to resolve this issue alone to no avail. Since Googlebase has changed a little (auto scheduling uploads etc) I am getting the following error about my upload to google base.

     

    Errors:

    Error Bad data Line #

    We didn't understand the header (first) row of your file. Please make sure you're using valid attribute names. - help offer_id:

    1

    This attribute is no longer supported. Please use a supported attribute. - help category:

    1

     

     

    Has anyone had a similar problem yet?

     

    Pete


  15. I had this problem and the following worked for me ....

     

    uncomment out the following line in ot_coupon.php (129 ish)

    //$_SESSION['cc_id'] = $coupon_result['coupon_id']; //Fred commented out, do not use $_SESSION[] due to backward comp. Reference the global var instead.

     

    My host has register globals to off - but someone else who had the same problem reported the above worked for them

     

    I haven't had any problems with doing this

    I just uncommented that line and ran a test order and it worked!!!!


  16. I am having a small problem getting the coupons to work the first time my customers get to the Order Confirmation page. No discount shows up. If you refresh the page the discount shows up correctly. When I do test orders they work just fine on the orders after I have done the first refresh of the confirmation page on my first order.

    For a temporary fix I put the below text Right next to the Confirm Order button.

    You must click the Confirm Order button to Complete your order.

     

    If you entered a coupon code and it is not showing up Refresh this page before clicking the Confirm Order button.


  17. OK, the above works fine with Authnet in test mode (confirmation emails are recieved) and I get what I expect in the admin

     

    4007XXXXX0027

     

    Someone want to confirm it's workability please?

     

    Thanks,

    Iggy

     

    Sorry Vger for all the posts but I sure liked having Iggy do some leg work for us out here!

     

    Iggy I just did the full package of the Credit Card Encryption and one test run with it in live mode with one of my own cards and it worked just fine! card number is encrypted in my orders table in my database! Now I am going to encrypt them all. At the same time someone else checked out with Paypal IPN and that worked also!


  18. Why is the code worded like this on the old versions? The array seemed to not store the data.

    $form_data = array(
    	'x_login' => MODULE_PAYMENT_AUTHORIZENETAIM_LOGIN,
    	'x_tran_key' => MODULE_PAYMENT_AUTHORIZENETAIM_PASSWORD,
    	'x_ADC_Delim_Data' => 'TRUE',
    	'x_ADC_URL' => 'FALSE',
    	'x_version' => '3.1',
    	'x_type' => 'AUTH_ONLY',
    	'x_method' => MODULE_PAYMENT_AUTHORIZENETAIM_METHOD,
    	'x_amount' => number_format($order->info['total'], 2),
    	'x_card_num' => $cc_array['card_number'],
    	'x_exp_date' => $cc_array['expiration'],
    	'x_card_code' => $cc_array['card_code'],
    	'x_email_customer' => MODULE_PAYMENT_AUTHORIZENETAIM_EMAIL == '1' ? 'TRUE': 'FALSE',
    	'x_email_merchant' => MODULE_PAYMENT_AUTHORIZENETAIM_EMAIL_MERCHANT == '1' ? 'TRUE': 'FALSE',
    	'x_cust_id' => $customer_id,
    	'x_first_name' => $order->customer['firstname'],
    	'x_last_name' => $order->customer['lastname'],
    	'x_address' => $order->billing['street_address'],
    	'x_city' => $order->billing['city'],
    	'x_state' => $order->billing['state'],
    	'x_zip' => $order->billing['postcode'],
    	'x_country' => $order->billing['country']['title'],
    	'x_phone' => $order->customer['telephone'],
    	'x_email' => $order->customer['email_address'],
    	'x_ship_to_first_name' => $order->delivery['firstname'],
    	'x_ship_to_last_name' => $order->delivery['lastname'],
    	'x_ship_to_address' => $order->delivery['street_address'],
    	'x_ship_to_city' => $order->delivery['city'],
    	'x_ship_to_state' => $order->delivery['state'],
    	'x_ship_to_zip' => $order->delivery['postcode'],
    	'x_ship_to_country' => $order->delivery['country']['title'],
    	'x_customer_ip' => $HTTP_SERVER_VARS['REMOTE_ADDR'],
    	'x_description' => 'Items from Our Coffee Barn',

     

    When the newer _aim code is this way.

    // Populate an array that contains all of the data to be submitted
      $submit_data = array(
      x_login => MODULE_PAYMENT_AUTHORIZENET_AIM_LOGIN, // The login name as assigned to you by authorize.net
      x_tran_key => MODULE_PAYMENT_AUTHORIZENET_AIM_TXNKEY,  // The Transaction Key (16 digits) is generated through the merchant interface
      x_relay_response => 'FALSE', // AIM uses direct response, not relay response
      x_delim_data => 'TRUE', // The default delimiter is a comma
      x_version => '3.1',  // 3.1 is required to use CVV codes
      x_type => MODULE_PAYMENT_AUTHORIZENET_AIM_AUTHORIZATION_TYPE == 'Authorize' ? 'AUTH_ONLY': 'AUTH_CAPTURE',
      x_method => 'CC', //MODULE_PAYMENT_AUTHORIZENET_AIM_METHOD == 'Credit Card' ? 'CC' : 'ECHECK',
      x_amount => number_format($order->info['total'], 2),
      x_card_num => $_POST['cc_number'],
      x_exp_date => $_POST['cc_expires'],
      x_card_code => $_POST['cc_cvv'],
      x_email_customer => MODULE_PAYMENT_AUTHORIZENET_AIM_EMAIL_CUSTOMER == 'True' ? 'TRUE': 'FALSE',
      x_email_merchant => MODULE_PAYMENT_AUTHORIZENET_AIM_EMAIL_MERCHANT == 'True' ? 'TRUE': 'FALSE',
      x_cust_id => $_SESSION['customer_id'],
      x_invoice_num => $new_order_id,
      x_first_name => $order->billing['firstname'],
      x_last_name => $order->billing['lastname'],
      x_company => $order->billing['company'],
      x_address => $order->billing['street_address'],
      x_city => $order->billing['city'],
      x_state => $order->billing['state'],
      x_zip => $order->billing['postcode'],
      x_country => $order->billing['country']['title'],
      x_phone => $order->customer['telephone'],
      x_email => $order->customer['email_address'],
      x_ship_to_first_name => $order->delivery['firstname'],
      x_ship_to_last_name => $order->delivery['lastname'],
      x_ship_to_address => $order->delivery['street_address'],
      x_ship_to_city => $order->delivery['city'],
      x_ship_to_state => $order->delivery['state'],
      x_ship_to_zip => $order->delivery['postcode'],
      x_ship_to_country => $order->delivery['country']['title'],
      x_description => $description,

     

    What is the difference between

    $_POST

    and

    $cc_array

    ?

     

    I too am getting a lesson in payment modules!

×