Re: WorldPay Module version 2.0 - Support thread
I know Philip replied but for anybody else stuck with this here's what i did to remove the visa / mastercard dropdown box.
In the file tpl_checkout_payment_default.php in includes\templates\template_default\templates in the new worldpay mod version 2.08 at line 148 find the following code:
HTML Code:
<!-- BOF Draw CC dropdown box -->
<?php
//This assumes that the Worldpay is your FIRST in your sort order in the ADMIN > Payment > Modules
//If not then change the value of $i to match where in the order you want it
if ($i==0)
{
//Create the array of credit cards as per Worldpay documentation
$cc1[] = array('id' => 'VISA', 'text' => 'Visa');
$cc1[] = array('id' => 'MSCD', 'text' => 'MasterCard');
echo zen_draw_pull_down_menu("paymentType", $cc1,'','','');
}
?>
<!-- EOF Draw CC dropdown box -->
and either commment out or delete it. That's it!
Re: WorldPay Module version 2.0 - Support thread
Quote:
Originally Posted by
philip_clarke
That sounds interesting, that's a redirect that has appeared further down the chain than the password check. Since you get the success email then a) worldpay is talking to the server, b) the password is correct.
So have you checked if you have suhosin installed on the server (in admin > modules > payment > worldpay) it should tell you.
What happens if you put something in your cart, do all the select shipping things and then cancel in worldpay before you "pay" do you get back to the site with a cancellation message or are you re-directed to a login screen to re-establish the session. The most likely cause for a 302 is that your site has not re-established the session when worldpay sent through the details. "OR" and I have seen this once before, sometimes the website doesn't store the payment method in the session and it re-establishes the sessions then goes, oops not payment method and throws worldpay back to a login screen. As yet the cause of this one is unknown, the site it was seen on was a very busy one, so if suhosin is not causing the problems then I'd like to see the site (PM) me, to try and get to the bottom of it.
Philip.
I have the same problem as above. My payment goes through as i get the notification from Worldpay but customer is not returned to my site and I don't get details of the order. When I cancel the order I get this from worldpay:
Quote:
Secure Payment Page
Sorry, there was an error in processing this transaction:
No payment information is available. This means that one of the following has occurred:
you have completed or cancelled your payment
you have cookies disabled. To complete your payment, enable cookies by changing the privacy settings in your browser. Then return to the merchant's site and resubmit your payment
your session at RBS WorldPay has timed out. Please return to the merchant's site and resubmit your payment.
I can't work out how to check suhosin. I went to the worldpay payment module but can't find it - does that mean I don't have it? Not even sure what it is.
Thak you
Suekay
Re: WorldPay Module version 2.0 - Support thread
If you go into your admin section and go to tools > server version/ info and look through that page, if you have suhosin then it will be listed there. If you don't have suhosin then something may be incorrect in your session set up in admin > configuration > sessions as it is very rare that on a correctly configured site, that cancelling the transaction in worldpay doesn't get you back to your store.
Thank you
Philip.
Re: WorldPay Module version 2.0 - Support thread
Quote:
Originally Posted by
philip_clarke
If you go into your admin section and go to tools > server version/ info and look through that page, if you have suhosin then it will be listed there. If you don't have suhosin then something may be incorrect in your session set up in admin > configuration > sessions as it is very rare that on a correctly configured site, that cancelling the transaction in worldpay doesn't get you back to your store.
Thank you
Philip.
Hi Philip,
I can't find suhosin in server version info. I've reinstalled the mod incase I made a mistake. I hit the remove button in the payment modules section first then reinstalled each file. When I installed it again the infomation in all the fileds was already there, is this correct for a reinstall, I thought I'd have to write all the passwords in again? Not sure what to do now, any ideas?
Thank you
Suekay
Re: WorldPay Module version 2.0 - Support thread
It is totally correct that when you remove and install the module all of the passwords are correct (because otherwise upgraders would lose all their information). What happens now is that you PM with details of what you have in your session configuration (becuase it's not generally stuff you want to publish).
Thank you
Philip.
Re: WorldPay Module version 2.0 - Support thread
Well I have read and searched and not found so I will ask the question.
Got the Worldpay module installed and working great, both test and live (thx Philip). Removed the 2nd drop down leaving just the drop down that allows the cards that are set in admin.
However (you knew there would be one), my client has setup paypal through Worldpay. I do not have an option to add the paypal "card" as an option to the drop down list. If I select "I will choose later" for the card option I can pick paypal when I get to the worldpay site and that seems to work ok.
So finally to the question, can I add Paypal as an option on the dropdown? and have it automatically go to Worldpay and redirect to paypal?
Thx,
Slan
Re: WorldPay Module version 2.0 - Support thread
Quote:
Originally Posted by
slannesh
Well I have read and searched and not found so I will ask the question.
Got the Worldpay module installed and working great, both test and live (thx Philip).
I don't believe it, someone that actually had worldpay work between live and the test side of their admin ?? All the problems above by suekay were over at worldpay's side, it appears that they are still having problems with data caching, in one case suekay having copied over her data to the "live" side of things, only to find that it was submitting 3 day old data to her site, and worldpay were complaining that it was the modules fault. The end result was that the module has not changed, suekay's data in the module has not changed, but the data worldpay is sending has finally stopped being cached and her site is now working perfectly.
Quote:
Originally Posted by
slannesh
So finally to the question, can I add Paypal as an option on the dropdown? and have it automatically go to Worldpay and redirect to paypal?
There is probably nothing that you can do, I can however try and find any details in the knowledgebase about how to transfer data and see if the module can be configured to pass the options through to paypal via worldpay. I would not hold my breath if I were you though, since the change to rbsworldpay all of my bookmarked information accumalated through debugging this module are useless, when they changed the domain name and didn't bother to redirect all the changed pages, so it may take some time.
Philip.
Re: WorldPay Module version 2.0 - Support thread
So far there is no ability to clikc through to paypall via worlpay. This article
https://crm.rbsworldpay.com/cgi-bin/...i=&p_topview=1
suggests that the page that is avoided by using selecting the credit card from a drop down, is mandatory for using paypal through worldpay. What I would suggest is that admin is used to disable the credit card select box or selector, and then the test "pay by credit card using worldpay" is changed in the define page under /language/english/worldpay.php be changed to something like "pay by worldpay or paypal".
Unless someone can find the alternate code, I can't put in a feature into the module if it doesn't exist.
Sorry
Philip
Re: WorldPay Module version 2.0 - Support thread
Just found the original page detailing the skipping fo the payment type via google and guesswork
https://crm.rbsworldpay.com/cgi-bin/...94&p_topview=1
Avoiding this page by being able to select paypal from a drop down is not an option from the list they provide.
Thank you
Philip.
Re: WorldPay Module version 2.0 - Support thread
Thanks Philip,
I will keep an eye on the thread to see if you can figure out how to pass the request to Worldpay to use Paypal (but I won't hold my breath).
Glad I didn't read about any difficulties going from test to live, it would have scared me witless!
Cheers,
Slan