Jump to content


  • Content count

  • Joined

  • Last visited

About Psilocybeing

  • Birthday 05/21/1984

Profile Information

  1. Psilocybeing

    Credit Card Payment trought Local Gateway

    When writing my WorldPay Invisible module, I ripped apart the osCommerce Credit Card test module. Using cURL to transmit the payment information was pretty painless, and finding how to change the status of orders to reflect the payment status was again pretty easy. When I say pretty easy, that's with a fair amount of experience with PHP. You will find it hard pressed if you have not worked with PHP in the past.
  2. Psilocybeing

    What will be the Test Transaction Instructions

    Simply place the following code into a HTML file. Then, in 'Test Transaction Instructions' direct the tester (WorldPay staff) to the test URL. Note: you must replace the value of the 'instId' field with the ID of the Installation you would like to test. Test card numbers can be found at http://www.worldpay.com/support/kb/mergedP...ve/tgl5103.html <form name="form1" target="_top" method="post" action="https://select.worldpay.com/wcc/purchase"> Amount to donate: <input type="text" name="amount"> GBP <input type="submit" name="Submit1" value="Donate" class="btn"> <input type="hidden" name="instId" value="xxxxx"> <input type="hidden" name="accId1" value=""> <input type="hidden" name="cartId" value="TEST"> <input type="hidden" name="desc" value="Test"> <input type="hidden" name="currency" value="GBP"> <input name="testMode" value="101" type="hidden"> </form>
  3. Psilocybeing

    WorldPay Select Invisible Contribution

    There is one way to get around it, however WorldPay do not like it one bit. I wrote a PHP module a while ago that automated the process involved of processing a payment through the Select Junior method using cURL, however the day after I released it they implemented their new and improved payment system. Now, I imagine it was just a coincidence, however if I were to write a new version of the module that is compatible with their new processing methods, I have no doubt that any merchant caught using it would have their account suspended very quickly. It basically handles all of the transactions between the client (your customer) and the WorldPay server through their transaction forms. This brings up all kind of issues regarding PCI compliance and compromise of customer data (i.e. credit card information, contact details etc), and as such I would not recommend anyone go down this route. If you have a WorldPay account, getting an Invisible installation activated is a fairly painless process, and at the end of the day is the best path to go down. After another quick think, on my old Junior installation that I used, if you used a Callback URL to process client information, if you output any information from this script it was displayed instead of the 'return to shop' button. I'm unsure if this is still the case, as I have not used a Junior installation since I started using the Invisible installations. It may be worth a try, however I recall a clause in WorldPays ToA disallowing any kind of automatic redirection from the Callback output. While using this method would allow you to record transactions through the callback URL, instead of having the information sent back via the form on the 'return to shop' page, the user would still have to click on something to return to the main area of your site. So, overall as I've stated before, Invisible is the way to go if you want to process payments yourself. I hope this information has been of help to you. Psilocybeing
  4. Psilocybeing


    I advise you take a look at the following contribution (http://www.oscommerce.com/community/contributions,5200) as well as the accompanying readme (PDF) (http://www.moneybookers.com/haendler/Howto...kersinHolbi.pdf). This module is apparently certified by MoneyBookers for use with osCommerce.
  5. Psilocybeing

    WorldPay Select Invisible Contribution

    As far as I know there is no test installation ID that you can use to make test transactions with WorldPay Select Invisible, however if you contact them they may be able to setup an account in test mode for you to use. Give them a call, they're usually very helpful. I do have several installations available, but to let you test them I would have to let you know our AuthPWs, which I don't think my client would be too happy about! ;) Good luck!
  6. Psilocybeing

    Paypal Pro, cURL, Godaddy

    Search for the text 'curl_init( );' in the module. It should read something like: '$this->channel = curl_init( );', after which there will be multiple lines using the 'curl_setopt' function. Simply ammend the first argument of the 'curl_setopt' calls that I previously posted here to point towards the cURL instance, and paste them under the calling of 'curl_init'. That should set you straight. If you are still having trouble after this advice, post exactly which module you are using, and if needs be a URL pointing to the contribution, and I'll be happy to take a look for you. Good luck! :)
  7. Psilocybeing

    WorldPay Select Invisible Contribution

    I've uploaded a fix. This was due to having WorldPay Junior Select and the WorldPay Invislble modules both activated at the same time I suspect. I've changed the class name of the WorldPay Invisible processor, so that should fix the problem you've been having. (see http://addons.oscommerce.com/info/5841) Regarding Invisible, yes you must request a new installation from WorldPay. The only requirements they have if you are on a third-party host (such as GoDaddy) is that you have a valid SSL certificate, HTTPS enabled and follow their rules for displaying information relating to the transaction (i.e. physical location of business, payment types accepted, refund policy etc). This process can take some time, although once it has been started I recommend phoning up and requestion to speak to their activations team. You can usually get an installation activated immediately by going down this route. Any other problems, please don't hesitate to post, either on here or my blog.
  8. Psilocybeing

    WorldPay Select Invisible Contribution

    After testing, and having an installation activated by WorldPay using this module, I've uploaded it into the contributions section. You can find it at the following URL: http://addons.oscommerce.com/info/5841 Enjoy!
  9. Psilocybeing

    Paypal Pro, cURL, Godaddy

    While writing my WorldPay Select Invisible module, I came across this issue also. Making SSL requests with cURL on GoDaddy's hosting requires that you go through their proxy, otherwise requests are simply denied..they won't connect, and time out. Add the below three lines to your cURL initiation function, and requests should go through without a hitch. Replace $this->channel with the variable linked to your cURL instance, of course. curl_setopt ( $this->channel, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt ( $this->channel, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ( $this->channel, CURLOPT_PROXY, 'http://proxy.shr.secureserver.net:3128'); Good luck
  10. Psilocybeing

    WorldPay Contribution

    Just to let anyone who is interested know, the module is now working and complete (as far as I can see), and I'm looking for a tester or two just to check it over before I upload it to the public domain. Check out this thread: http://forums.oscommerce.com/index.php?showtopic=295245 Cheers
  11. Psilocybeing

    WorldPay Select Invisible Contribution

    As mentioned in a separate thread in the 'Other' section, I've been putting together a Module that will handle orders using the WorldPay Select Invisible service, which allows payments to be processed without redirecting the user away to an external payment page. The module is complete and working, and as far as I can see up to the standards required by WorldPay. Upon a successful transaction, the last four digits of the credit card are stored, along with the WorldPay transaction ID. An email is also sent to the customer, with the transaction ID for reference. Before I upload the Module into the 'Contributions' section of the osCommerce site, I would greatly appreciate someone elses opinion on the script. Of course, a WorldPay Select Invisible Installation is required. If anyone is able and willing to perform a quick test of the script, then please either send me a message on here, or email me at: Psilocybeing AT othala.co.uk. If no testers are able to come forward within say the next few days, I'll upload it to the public domain. Many thanks, Psilocybeing
  12. Psilocybeing

    Simple Credit Card number colletion with encription ?

    If you're going to store Credit Card details, I highly recommend you read this Blog post: http://pcianswers.com/2007/05/01/encryptio...pci-compliance/ In order to be compliant with PCI standards, you MUST encrypt credit card details. Simply performing a mathematical modification to the numbers will not suffice. AES encryption is the way to go, with stringent policies on encryption keys. It's just not worth the risk of the smackdown from processors or card providers in the event of compromise.
  13. Psilocybeing

    WorldPay Contribution

    I'm hacking together a processor, based on the out-of-the-box test Credit Card processing module provided with the osCommerce package. It will work in exactly the same way, apart from the following points: 1) Requests a CVV from the user 2) Stores the Credit Card in an encrypted fashion, until the transaction is complete 3) Communicates with the WorldPay Invisible server I'll of course post it up once it's ready, and cleaned up. Be warned, this is a quick and messy solution. I've never used osCommerce before, and while I have a decent background in Programming (PHP or otherwise), my methods for using the information gleaned from osCommerce may be far from optimal, or appropriate, but it seems to get the job done. If this has already been done (I couldn't see a WorldPay Invisible processing module available), then sorry for the bogus post! ;) I will keep you posted.