Page 70 of 73 FirstFirst ... 20606869707172 ... LastLast
Results 691 to 700 of 730
  1. #691
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by Bigenuf View Post
    Here is a PHP 5.3 specific error you will get in this module. If you see this in Customers> Worldpay Payments

    Warning: number_format() expects parameter 1 to be double, string given in /home/xxxxx/public_html/admin/worldpay_response.php on line 141

    The fix is go to line 141 in admin/worldpay_response.php and change

    This
    <td class="dataTableContent" align="right"><?php echo $wp_response->fields['REQUEST']['authCurrency'] . ' '.number_format($wp_response->fields['REQUEST']['authAmount'], 2); ?></td>

    To This
    <td class="dataTableContent" align="right"><?php echo $wp_response->fields['REQUEST']['authCurrency'] . ' '.number_format((double)$wp_response->fields['REQUEST']['authAmount'], 2); ?></td>

    I really don't understand why adding (double) works - maybe someone can explain All i know is that on PHP 5.2 everything works ok but change to PHP 5.3 and it throws this error but otherwise the module works fine for transactions.
    This is tested and running on 1.3.9h in PHP 5.3.

    If your using Worldpay you are outsourceing the payment processing and your site never comes into contact with any credit card data so your site doesn't need to be PCI DSS compliant but your payment gateway does and that is worldpay but you do need to do a PCI DSS self assessment through worldpay.
    Hi Big Enuf,

    I have it installed under v1.5.1 but don't see anything under customers to do with worldpay payments? Am i missing something?

    With regards to my issues:

    I can confirm I now have the code working with zen-cart v1.5.1. I believe it was a problem with some of the session settings as pointed out by philip clarke a while back. I did a clean install of zen cart and the worldpay module again before figuring this one out.

    I have made a few minor layout tweaks to get this to display correctly on my site and obviously changed the worldpay urls.

    I did contact philip and he was available to respond (if anyone else needs him - he's available for a small fee) but I managed to get it up and running before he had to mess with the code.

    I have noticed a few minor bugs such as this supposedly being v2.10 and it only showing as v2.09 in admin etc... I've also changed my side box card icons to some I have hosted locally (as ther others were ugly and to a set size).

    I don't mind offering some help to anyone else who is stuck upgrading to v1.5.1. I'll contact Philip and ask if he can assist once the template system is all changed when v1.6 is released.

  2. #692
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by bottyz View Post
    Hi Big Enuf,

    I have it installed under v1.5.1 but don't see anything under customers to do with worldpay payments? Am i missing something?

    With regards to my issues:

    I can confirm I now have the code working with zen-cart v1.5.1. I believe it was a problem with some of the session settings as pointed out by philip clarke a while back. I did a clean install of zen cart and the worldpay module again before figuring this one out.

    I have made a few minor layout tweaks to get this to display correctly on my site and obviously changed the worldpay urls.

    I did contact philip and he was available to respond (if anyone else needs him - he's available for a small fee) but I managed to get it up and running before he had to mess with the code.

    I have noticed a few minor bugs such as this supposedly being v2.10 and it only showing as v2.09 in admin etc... I've also changed my side box card icons to some I have hosted locally (as ther others were ugly and to a set size).

    I don't mind offering some help to anyone else who is stuck upgrading to v1.5.1. I'll contact Philip and ask if he can assist once the template system is all changed when v1.6 is released.

    Sorry all, quick update. The code processing the payments and working the catalog side of this is working. However due to admin changes in version 1.5 the 'worldpay payments' page doesn't show.

    Philip is working on the fix for me and as soon as I sort payment for it out with my bosses at work (its a quite expensive rewrite - its going to take philip at least 4 hours to fix) I'll see what I can do about getting it updated in the add ons area for everyone.


    Regards

    BottyZ

  3. #693
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi all,

    I hope someone can help me. I am working on www.wwdshop.com/index.php, using version 1.3.9 h. I have installed the files for the WorldPay module, and have set the details in my WorldPay admin as well as the site. In test, every thing works perfectly, orders complete and I get returned to my site. However, the moment I set it to Live, the order completes and Zen Cart gets the order confirmation, but I do not get redirected to my site. I have created my resultC.html and resultY.html files as required. I have used the same files for another site, www.dragonslivestore.com, and everythign completes as it should. I have spoken to WorldPay tech support, they said there is something missing from my Zen Cart, which really confuses me as I added all the required files. Are there any files that I must make sure is in my template apart from the WorldPay files? Or did someone have the same issue as me and can help me to find a solution?

  4. #694
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by barendfaber View Post
    Hi all,

    I hope someone can help me. I am working on www.wwdshop.com/index.php, using version 1.3.9 h. I have installed the files for the WorldPay module, and have set the details in my WorldPay admin as well as the site. In test, every thing works perfectly, orders complete and I get returned to my site. However, the moment I set it to Live, the order completes and Zen Cart gets the order confirmation, but I do not get redirected to my site. I have created my resultC.html and resultY.html files as required. I have used the same files for another site, www.dragonslivestore.com, and everythign completes as it should. I have spoken to WorldPay tech support, they said there is something missing from my Zen Cart, which really confuses me as I added all the required files. Are there any files that I must make sure is in my template apart from the WorldPay files? Or did someone have the same issue as me and can help me to find a solution?
    Have you tried debugging? If you perform a test transaction on the live site but press cancel payment rather than completing the transaction, are you returned to the worldpay payment cancelled page in zen-cart?

    I haven't setup a resulty or resultc.html for worldpay as when you're returned to the zen-cart neither of these files are required. So it may even be due to that, try deleting them and doing the same as what I have mentioned above.

  5. #695
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi, thanks for the reply. I have activated debugging, and got 2 e-mails, one for Transaction Status Success: and another for Password Failure:. Does this mean my passwords in Zen Cart and WorldPay don't match?

  6. #696
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by barendfaber View Post
    Hi, thanks for the reply. I have activated debugging, and got 2 e-mails, one for Transaction Status Success: and another for Password Failure:. Does this mean my passwords in Zen Cart and WorldPay don't match?
    Yeah normally. Either that or your admin > configuration > sessions > recreate sessions could be set to true. This needs to be false. I had this problem a while ago. Are the cencelled transactions returning you to the zen cart?

  7. #697
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    I have set recreate sessions to false, placed another order, went through ok but still no redirect. I now also did not get the second WorldPay e-mail with the password failure.

  8. #698
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by barendfaber View Post
    I have set recreate sessions to false, placed another order, went through ok but still no redirect. I now also did not get the second WorldPay e-mail with the password failure.
    Seems a bit odd. If you have only just activated your worldpay installation it can take a couple of working days for them to test you've integrated correctly before they officially activate you.

    But a few things to check:

    1. Have you changed any of the default worldpay module settings, i.e. the code. I did find that the module download no longer uses the correct worldpay url. You'll need to amend includes > modules > payment > worldpay.php :

    Original:
    PHP Code:
            if ((int)MODULE_PAYMENT_WORLDPAY_TEST_MODE !== 0)
            {
    //         $this->form_action_url = 'https://select-test.worldpay.com/wcc/purchase';
    //         $this->form_action_url = 'https://select-test.wp3.rbsworldpay.com/wcc/purchase';
            
    $this->form_action_url 'https://secure-test.wp3.rbsworldpay.com/wcc/purchase';
            }
            else
            {
    //         $this->form_action_url = 'https://select.worldpay.com/wcc/purchase';
    //        $this->form_action_url = 'https://select.wp3.rbsworldpay.com/wcc/purchase';
            
    $this->form_action_url 'https://secure.wp3.rbsworldpay.com/wcc/purchase';
            } 
    Amended:
    PHP Code:
            if ((int)MODULE_PAYMENT_WORLDPAY_TEST_MODE !== 0)
            {
            
    $this->form_action_url 'https://secure-test.worldpay.com/wcc/purchase';
            }
            else
            {
            
    $this->form_action_url 'https://secure.worldpay.com/wcc/purchase';
            } 
    This is because they are no longer RBS WorldPay. But I'm assuming you got that far already.

    Also:

    2. In your worldpay installation make sure that:
    Payment Response URL is set to https://<wpdisplay item="MC_callback"> (or without the SSl if thats what you're using).
    Payment Response Enabled?: Checked
    Enable Recurring Payment Response: Not Checked
    Enable the Shopper Response: Checked
    Suspension of Payment Response: Not Checked

    &

    Payment Response password & MD5 secret for transactions are set correctly and match those in the worldpay module. You'll need the "Use MD5?" set to true in admin area also.

    3. Retype the TEST installation settings manually into the PRODUCTION settings in your worldpay installation. Sometimes the passwords don't copy and this causes it to fail. Once this is done, give it 15 mins or so before testing as worldpay is known to cache the settings for a little while before applying any amendments.

    4. Admin > Configuration > Sessions:
    Force Cookie Use: False
    Check SSL Session ID: False
    Check User Agent: False
    Check IP Address: False


    If all of the above doesn't work. Make sure suhosin is turned off (details of this are further back in the thread) and that if you're using php 5.3 session.use_only_cookies is off.

    Hopefully something from the above will help you out. I've got the original developer on board working on an updated mod for v1.5.1, so if all of the above fails theres still hope!

  9. #699
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    I have been on the phone again to WorldPay tech support, got through to another agent. He had a look and said the resultC and resultY did not copy over to live environment, he asked that I need to test again in a few hours once their servers updated. will keep you posted but i am hoping this was the issue.

  10. #700
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi all,

    I'm pleased to announce that I've had the code updated by Philip, he was lurking on the freelancer.com site where I was advertising for help.

    I've submitted an updated version of the module for zencart v1.3.x to the add-ons area. This should hopefully be approved and appear in the next week or so.
    I have a copy of the module working on 1.5.1 but its had quite a bit of code changes as the admin area side of things didn't work and has been made bespoke for my site (since I was paying for it). I'm sure he will have a stock copy of this available for anyone who requires it.

    If anyone needs any help, let me know!

    :)

    BottyZ

 

 
Page 70 of 73 FirstFirst ... 20606869707172 ... LastLast

Similar Threads

  1. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2237
    Last Post: 9 May 2025, 03:20 AM
  2. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 115
    Last Post: 20 Jul 2021, 04:00 PM
  3. v151 Codetrio Sphinx Search Version 1.0 Support Thread
    By imranulh in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 16 Jul 2014, 01:24 AM
  4. Simple SEO URL (OLD version) [support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 5053
    Last Post: 30 Jun 2014, 02:42 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR