Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Knowles 141 posts 222 karma points
    Jul 19, 2011 @ 18:25
    Chris Knowles
    0

    Hi,

    How easy is it to add new payment providers such as WorldPay?

    My client can only take payment in WorldPay now i've built the whole site!

    Thanks

    Chris

  • Rune Grønkjær 1371 posts 3102 karma points
    Jul 19, 2011 @ 20:40
    Rune Grønkjær
    0

    Hi Chris,

    It's as easy as the payment provider allows it. Pay Pal have been really har to make, but some of the others have been quite easy.

    Everyone can make their own payment providers, if they can code C#. If you're not up to it, we can do it for you, but we might have to charge you something. Anders Burla is the one who have created the other Payment Providers, so he could make this one as well. Unfortunately it's summer vacation time here in Denmark and Anders is currently in Brazil until  the August 5 or 6, so he won't be able to do anything before that. :(

    If you do code C# I can send you the code you need to create your own provider. It's pretty streight forward and you will just need to read the documentation from World Pay.

    /Rune

  • Chris Knowles 141 posts 222 karma points
    Jul 20, 2011 @ 10:08
    Chris Knowles
    0

    Hi Rune,

    We do code in c# so i could take a look at creating the payment provider if you can supply me with the information i need.

    Thanks

    Chris

  • Rune Grønkjær 1371 posts 3102 karma points
    Jul 20, 2011 @ 10:11
    Rune Grønkjær
    0

    That's great. please throw me an e-mail rg[at]teasolutions.dk.

    I will send you what you need.

    /Rune

  • Chris Knowles 141 posts 222 karma points
    Jul 20, 2011 @ 10:13
    Chris Knowles
    0

    Thanks Rune,

    Email on it's way to you.

    Thanks

    Chris

  • Andrew Parker 23 posts 88 karma points
    Oct 05, 2011 @ 17:02
    Andrew Parker
    0

    Hey there,

    We're also talking to a client who may want to use TeaCommerce with Wordpay - is this something you've now got as a working solution - or would we still need to code our own integration?

    Thanks very much!

    Andrew

  • Chris Knowles 141 posts 222 karma points
    Oct 05, 2011 @ 17:31
    Chris Knowles
    0

    Hi Andrew,

    We didn't have the time to code our own WorldPay solution so we went to uCommerce instead. 

    Thanks

    Chris

  • Anders Burla 2560 posts 8256 karma points
    Oct 05, 2011 @ 17:46
    Anders Burla
    0

    Hi Andrew

    We dont have a payment provider for WorldPay - If your up for the challenge you can go ahead - if you want us to make it I think we can create it for a small amount for the programming. You can just add that to the clients final bill :)

    You can shoot me an email at [email protected] and lets get in touch

    Kind regards
    Anders 

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 11:58
    Luke Alderton
    0

    Hi,

    I was wondering if a WorldPay payment provider was created by anyone as it's been almost a year! If so, where can I get a copy and how do I implement it?

    Thanks,
    Luke 

  • Anders Burla 2560 posts 8256 karma points
    Jun 18, 2012 @ 12:43
    Anders Burla
    0

    It has been implemented. Just install the newest Tea Commerce and you can select it as a payment provider.

    Kind regards
    Anders

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 12:45
    Luke Alderton
    0

    Okay, thanks!

    I was just wondering why it's not implemented into the demo site, I downloaded the site last week and it doesn't have WorldPay, could I just remove the back end from the demo site and reinstall the latest version?

  • Anders Burla 2560 posts 8256 karma points
    Jun 18, 2012 @ 12:49
    Anders Burla
    0

    Is it the starter kit that you downloaded? It should be there - just checked the live site which is the one we package for others to use - and it has world pay as and option.

    Kind regards
    Anders

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 12:53
    Luke Alderton
    0

    Yes, I can confirm that it's not there in the version I have, however I can see that I am running 1.4.1.2 whilst the latest version is 1.4.2.4 would I need to start a new install from scratch or can I just pull some files across?

    Thanks,
    Luke 

  • Anders Burla 2560 posts 8256 karma points
    Jun 18, 2012 @ 12:55
    Anders Burla
    0

    Try check the config/TeaCommerce/teaCommerce.config file - does it say World pay. If not insert this in the payment providers

    <Provider alias="WorldPay" assembly="TeaCommerce.PaymentProviders" type="TeaCommerce.PaymentProviders.WorldPay" />

    Kind regards
    Anders

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 12:59
    Luke Alderton
    0

    The config file has references to other config files, an example of one that's alread in there is:

     

    however your one is 

     

    adding this to the config file results in a 'System.NullReferenceException: Object reference not set to an instance of an object.' error.

  • Anders Burla 2560 posts 8256 karma points
    Jun 18, 2012 @ 13:04
    Anders Burla
    0

    Ahh - you need to update - didnt notice the version you were running. Just download and install Tea Commerce again on top of the current solution. Be sure to check the revision history.

    http://www.teacommerce.dk/en/documentation/revision-history.aspx

    Kind regards
    Anders

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 14:03
    Luke Alderton
    0

    After updating I receive this error on cart_step04.xslt

    An error occurred during a call to extension function 'GetPaymentForm'. See InnerException for a complete description of the error.
    An error occurred during a call to extension function 'GetPaymentForm'. See InnerException for a complete description of the error.
      at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
      at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
      at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="CartStep">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces) in D:\Inetpub\wwwroot\BadgersShop\xslt\cart_step04.xslt:line 422

    I also get:

    The given key was not present in the dictionary.

    Any help would be appretiated!

    Thanks,
    Luke

  • Anders Burla 2560 posts 8256 karma points
    Jun 18, 2012 @ 14:13
    Anders Burla
    0

    Which settings do you have for the payment provider? Do you have more info on the "The given key was not present" error? Maybe which class in .NET is used.Do you use the world pay provider or?

    Kind regards
    Anders

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 14:15
    Luke Alderton
    0

    The Starter Kit on http://www.teacommerce.dk/en/products/tea-commerce-starter-kit.aspx is an outdated version, it is where I got the old version from, you need to update it.

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 14:18
    Luke Alderton
    0

    This is the whole log I get with the 'key not present' error:

    The given key was not present in the dictionary.
    The given key was not present in the dictionary.
      at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
      at TeaCommerce.PaymentProviders.WorldPay.GenerateForm(Order order, String teaCommerceContinueUrl, String teaCommerceCancelUrl, String teaCommerceCallBackUrl, Dictionary`2 settings)
      at TeaCommerce.Base.GeneratePaymentForm(String submitInput)
      at TeaCommerce.Library.GetPaymentForm(String submitInput)

    I've set WorldPay in the payment provider for the credit card payment type.

  • Anders Burla 2560 posts 8256 karma points
    Jun 18, 2012 @ 14:40
    Anders Burla
    0

    Could you send a screenshot of your payment provider settings

    Kind regards
    Anders

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 14:43
    Luke Alderton
    0

    I have not added any payment provider settings as yet, all I have done is selected WorldPay from the drop down, are there any specific settings that need to be added before it will work?

    Thanks,
    Luke 

  • Anders Burla 2560 posts 8256 karma points
    Jun 18, 2012 @ 14:43
    Anders Burla
    0

    You need to load the default settings and configure them :) Thats why.

    Kind regards
    Anders

  • Luke Alderton 191 posts 508 karma points
    Jun 18, 2012 @ 14:45
    Luke Alderton
    0

    That works, thanks a lot! :D

Please Sign in or register to post replies

Write your reply to:

Draft