Author
|
Message
|
Paul Forsyth
|
Wednesday 10 December 2003 7:26:11 am
I've added the worldpay extension to the contributions directory and to pubsvn. Enjoy!
http://ez.no/developer/ez_publish_3/contributions/worldpay_payment_gateway http://pubsvn.ez.no/viewcvs/community/trunk/extension/worldpay/ paul
|
Eirik Alfstad Johansen
|
Wednesday 10 December 2003 8:38:11 am
Hi Paul, Going through the documentation, I noticed that one needs what is referred to as a WorldPay Junior account. However, when I visit the WorldPay site, I'm unable to find such a product. Perhaps the product has been renamed, or is Junior a product level (and it that case, for which product)? Thanks in advance ! Sincerely,
Eirik Johansen Netmaking AS http://www.netmaking.no/
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|
Paul Forsyth
|
Wednesday 10 December 2003 8:46:01 am
Hmmm, one for Tony i believe :) Tony? paul
|
Tony Wood
|
Wednesday 10 December 2003 8:47:55 am
Eirik, The information is at http://support.worldpay.com/integrations/jnr/index.html I'll ask WorldPay why they don;t have the name on the site. Strange, still the code in SVN is in production so its an ongoing server from WorldPay. Tony
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Tony Wood
|
Wednesday 10 December 2003 8:51:02 am
Ok, the account to setup is a World Direct account from : http://www.worldpay.co.uk/sme/index.php?go=sme_apply The name of the integration is a Select Junior. Sorry for the confusion, I will update doco. Tony
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Paul Forsyth
|
Wednesday 10 December 2003 9:05:20 am
I've updated the tar ball in the contributions and SVN with this. paul
|
Eirik Alfstad Johansen
|
Wednesday 10 December 2003 9:05:29 am
Hi Tony, Thanks for clearing that up! Sincerely,
Eirik Johansen Netmaking AS http://www.netmaking.no/
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|
Eirik Alfstad Johansen
|
Monday 15 December 2003 12:01:17 pm
Hi Tony, After having signed up for a WorldDirect account, I've now just installed your extension, and I'm having some trouble which I was hoping you could help me with. As said, the extension is installed, and I've created a workflow using the WorldPay event which I've added pre-checkout. However, when I reach the pre-checkout fase, I get the following error:
Fatal error: Call to a member function on a non-object in /home/mittfir1/public_html/extension/worldpay/eventtypes/event/worldpay/worldpaytype.php on line 131 Fatal error: eZ publish did not finish it's request The execution of eZ publish was abruptly ended, the debug output is present below. Am I right so far, and how should I proceed? Thanks in advance ! Sincerely,
Eirik Johansen Netmaking AS http://www.netmaking.no/
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|
Eirik Alfstad Johansen
|
Tuesday 16 December 2003 1:54:34 am
Hi Tony, If you would be as kind as to elaborate on which folders go where in the installation, that would be great ! Sincerely,
Eirik Johansen Netmaking AS http://www.netmaking.no/
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|
Paul Forsyth
|
Tuesday 16 December 2003 2:10:28 am
Eirik, The worldpay directory needs to be within the extension directory which itself must be within the ez root directory. eZ should pick up everything within the extension automatically. Saying that, i can see why you get this error... doh, its our fault. We didn't write down in the manual the specification of our user class. We created a new user class with additional attributes. This is why you get an error on line 131. It references an array element from the user class, and if you don't have that attribute then an error occurs (array out of bounds...). From the top of that file we have this code:
define( "VWT_FIRST_NAME", 0 );
define( "VWT_LAST_NAME", 1 );
define( "VWT_USER", 2 );
define( "VWT_COMPANY", 3 );
define( "VWT_ADDRESS", 4 );
define( "VWT_TEL", 5 ); define( "VWT_COUNTRY", 6 ); This defines the order of attributes. A little hard-coded but if you set up your user class like this then it will work. Alternatively you could modify the code to do something else without these. We will update the manual. We also have a special country datatype to help with country selection we should publish. Its on a list of things-to-do. paul
|
Paul Forsyth
|
Tuesday 16 December 2003 2:13:19 am
In addition have a look at the register screen on Planet Troy: http://www.planet-troy.com/user/register to see what i mean. We created a special shop user for this, and some time ago i wrote a tutorial on how to do this within eZ: http://ez.no/developer/ez_publish_3/documentation/incoming/tutorial_using_userregister Hope this helps :) paul
|
Tony Wood
|
Tuesday 16 December 2003 2:28:54 am
Eirik, We are modifying the manual, we missed it. Whoops. --tony
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Paul Forsyth
|
Tuesday 16 December 2003 2:51:24 am
Ok, the manual is updated in the contribution .tgz and on pubsvn. http://pubsvn.ez.no/community/trunk/extension/worldpay/doc/manual.txt paul
|
Willie Seabrook
|
Tuesday 16 December 2003 7:03:02 pm
Your a legend Paul... I'm going to need this for a project in about a months time and I thought I was going to have to write it myself. Thanks! Willie
|
Tony Wood
|
Wednesday 17 December 2003 2:32:00 am
Nice coding Paul, will you be providing all the bug fixes ;-)
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Paul Forsyth
|
Wednesday 17 December 2003 2:40:53 am
Yes Tony, i will be checking in the fixes for your mistakes :) Tony coded this extension, while i provided constructive criticism! paul
|
Tony Wood
|
Wednesday 17 December 2003 2:44:47 am
Its team effort Paul, we fix each others bugs :)
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Starla Carpenter
|
Monday 19 January 2004 5:38:02 pm
I'm a newbie with EZ and trying to implement worldpay gateway. I've updated the ini files and unpacked the files into the extensions folder. It's my understanding that now if I try to define a new Workflow, something like Event/worldpay should show up in the scrolling box at the bottom of the workflow edit page. Can anyone suggest what might be wrong? I've also disabled and cleared the cache. Thanks in advance for any help.
|
Paul Forsyth
|
Tuesday 20 January 2004 12:51:04 am
If its not appearing in the drop down box then the worldpay extension can't be seen by the system. Have a look at these reasons and see if they help you. 1. Is Worldpay active in your main site.ini?
[ExtensionSettings]
ExtensionDirectory=extension ActiveExtensions[]=worldpay 2. Is the worldpay extension in the 'extension' directory? 3. Does your worldpay directory (and contents) have the correct file permissions. Your web server needs to be able to read the files. Do you have debugging on? There may be a warning line about this in there if there is a problem. Paul
|
Starla Carpenter
|
Wednesday 04 February 2004 10:18:54 am
Thanks for the earlier help! Got worldpay working now.
My problem now is the callback. I've turned callback on at Worldpay Configuration, and tried various possible callback URLs (mydomain/mysite/worldpay/callback/ for one) After the trasaction is finished, it just stays at the Worldpay Thank you page without coming back to my site.
Or, in the case where I used
mydomain/worldpay/callback/
I got the following error page
-------------------------------
The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- A name was started with an invalid character. Error processing resource 'https://select.worldpay.com/aequitas/card?op-PMGetNextPage&PaymentID=1075918867842'. Line 48, Position 39
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
--------------------------------------^ Can anyone help me get things configured correctly? Thanks in advance.
|