Results 1 to 10 of 730

Hybrid View

  1. #1
    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. #2
    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. #3
    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. #4
    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. #5
    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. #6
    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. #7
    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.

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 116
    Last Post: 31 Dec 2025, 11:36 AM
  2. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2246
    Last Post: 29 Dec 2025, 10:13 AM
  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

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