Page 1 of 2 12 LastLast
Results 1 to 10 of 211

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Essex, UK
    Posts
    137
    Plugin Contributions
    1

    Default Re: Nixaks Sagepay Form Module

    Quote Originally Posted by colinr View Post
    Does this mean the the SagePay module currently doesn't work?

    Colin
    Hi Colin, the module still works fine. SagePay have added a new and more secure type of encrytion which is what I'm trying to incorporate into the module.

  2. #2

    Default Re: Nixaks Sagepay Form Module

    Quote Originally Posted by Nixak View Post
    Hi Colin, the module still works fine. SagePay have added a new and more secure type of encrytion which is what I'm trying to incorporate into the module.
    Thanks for the quick reply.

    Is this as easy to set up as the included PayPal IPN module? Do SagePay send an IPN callback to Zen-Cart?

    I was recently bitten by integration with Barclays. The module was fine - but the gateway is dreadful!

  3. #3
    Join Date
    Nov 2007
    Location
    Essex, UK
    Posts
    137
    Plugin Contributions
    1

    Default Re: Nixaks Sagepay Form Module

    Quote Originally Posted by colinr View Post
    Is this as easy to set up as the included PayPal IPN module? Do SagePay send an IPN callback to Zen-Cart
    Sagepay can work in 3 different ways Form, Direct & Server. The module I wrote only works with Sagepay Form.
    As for intergration I hope that people find it fairly easy (I know I did) but nothing is quite as simple as Paypal IPN lol. Sagepay's website can be found here, I have found them to have very good levals of customer service and they always seem to want to try and help when they can.

  4. #4
    Join Date
    Nov 2007
    Location
    Essex, UK
    Posts
    137
    Plugin Contributions
    1

    Default Re: Nixaks Sagepay Form Module

    annnika I've solved the problem

    MAKE SURE you backup your website & database first.
    Go to includes/modules/payment/sagepay_form.php and edit that file with a good editor.

    find
    Code:
    // Basket detail code
          if (MODULE_PAYMENT_SAGEPAY_FORM_SHOPCART == 'true') {
    		$shipping = $order->info['shipping_cost'];
    		$shipping = number_format($shipping, 2, '.', '');
     		$products = $_SESSION['cart']->get_products();
    		$no_lines = sizeof($products) + 1;
    		
    		$shippingStr .= ":Shipping:---:---:---:---:".$shipping;
    		$basketStr = "Basket=".$no_lines;
    		$moreStr .= ":More products...See Order.:---:---:---:---:---";
            $moreLen = strlen( $moreStr );
    replace with
    Code:
    // Basket detail code
          if (MODULE_PAYMENT_SAGEPAY_FORM_SHOPCART == 'true') {
    		$shipping = $order->info['shipping_cost'];
    		$shipping = number_format($shipping, 2, '.', '');
    		$shippingtax = $order->info['shipping_tax'];
    		$shippingtax = number_format($shippingtax, 2, '.', '');
    		$totalshipping = $shipping + $shippingtax;
    		$totalshipping = number_format($totalshipping, 2, '.', '');
     		$products = $_SESSION['cart']->get_products();
    		$no_lines = sizeof($products) + 1;
    		
    		$shippingStr .= ":Shipping:---:".$shipping.":".$shippingtax.":".$totalshipping.":".$totalshipping;
    		$basketStr = "Basket=".$no_lines;
    		$moreStr .= ":More products...See Order.:---:---:---:---:---";
            $moreLen = strlen( $moreStr );
    This will change the shipping field thats sent to sagepay so instead of seeing this
    Shipping --- --- --- --- 15.19
    you should get this
    Shipping --- 15.19 3.04 18.23 18.23

    Just in case your not sure what you see is:
    15.19 = shipping cost
    3.04 = shipping tax
    18.23 = total shipping
    18.23 = line total (I've left this in as it looks better)

    Hope this helps
    Nixak

    p.s. this will be included in the next update.
    Last edited by Nixak; 16 Mar 2011 at 05:58 PM. Reason: adding info

  5. #5
    Join Date
    Mar 2010
    Location
    Royston, UK
    Posts
    14
    Plugin Contributions
    0

    Default Re: Nixaks Sagepay Form Module

    you are a star!!

  6. #6
    Join Date
    Feb 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Nixaks Sagepay Form Module

    Nixak, I've uploaded those two PHP files to the relevant folders on my Zen Cart and nothing has changed in the payment section of my admin. Any ideas?

  7. #7
    Join Date
    Nov 2007
    Location
    Essex, UK
    Posts
    137
    Plugin Contributions
    1

    Default Re: Nixaks Sagepay Form Module

    Quote Originally Posted by mrkay View Post
    Nixak, I've uploaded those two PHP files to the relevant folders on my Zen Cart and nothing has changed in the payment section of my admin. Any ideas?
    I'm not sure what to say .....

    Once the files are uploaded got to admin/modules/payment and it should be there in the list as Debit/Credit Card - Sagepay Form.

    Only thing I can think of is I know that firefox can be a sh*t at times and I have to clean out my cache to see any changes.

  8. #8
    Join Date
    Mar 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Nixaks Sagepay Form Module

    Nixaks,

    I have to thank you so much for this. I had no idea how to do this and I followed your instructions and it seems to work perfectly.

    Thank you so so much

  9. #9
    Join Date
    Jan 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Nixaks Sagepay Form Module

    Hi Nixak,

    I'm having trouble using the module on Zencart 1.3.9h. The shop is: https://www.loveaquatics.com/ and i can get as far as step 3 of the checkout and it hangs, it's like the rest of the page isn't loading.

    The last piece of the source code is:-

    <form name="checkout_confirmation" action="https://test.sagepay.com/gateway/service/vspform-register.vsp" method="post" id="checkout_confirmation" onsubmit="submitonce();">

    That's it, nothing more, i can't continue. I have SSL enabled etc. Do you know what the problem could be?

    The login to Sage Pay for me is: https://live.sagepay.com/mysagepay/loginpage.msp

    Thank you.

  10. #10
    Join Date
    Nov 2007
    Location
    Essex, UK
    Posts
    137
    Plugin Contributions
    1

    Default Re: Nixaks Sagepay Form Module

    In your admin change the module to simulator mode and then make a test purchase, you will be taken to a page where it will list everthing thats been sent & it will point out if anything is wrong. Let me know what you find.

    Regards
    Nixak

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Sagepay Form V1.5.5
    By Nick1973 in forum Addon Payment Modules
    Replies: 10
    Last Post: 12 Jun 2019, 10:30 AM
  2. Need a Form Module for Sagepay
    By ukstuff in forum Addon Payment Modules
    Replies: 5
    Last Post: 18 Feb 2015, 03:51 PM
  3. v150 Nixaks Sagepay Form Module PHP Warning
    By sprocker in forum Addon Payment Modules
    Replies: 0
    Last Post: 13 Aug 2014, 11:24 AM
  4. looking for the protx - sagepay - FORM payment module
    By abs007 in forum Addon Payment Modules
    Replies: 3
    Last Post: 20 Jul 2009, 06:06 PM
  5. Help with Sagepay form payment module please
    By Nixak in forum Addon Payment Modules
    Replies: 1
    Last Post: 20 Jul 2009, 11:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg