Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Avi 4 posts 34 karma points
    May 23, 2013 @ 14:30
    Avi
    0

    Adding a payment provider in uCommerce 3.6

    Hi guys,

    I've been following http://www.publicvoid.dk/CommentView,guid,1ffcab81-4105-4e53-920c-c9756b9ef886.aspx#commentstart">this guide to write my own payment provider, but couldn't find the configuration sections in web.config. i tried adding those by myself, which didn't work out since i don't see my provider in the payment providers list,

    I've seen in v.3's release notes, this section was moved to payments.config?  i couldn't make it work either…

    I would really appreciate a good explanation on how should I configure payment service providers in uCommerce 3.6

    thanks,

    Avi

     

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    May 23, 2013 @ 15:39
    David Brendel
    100

    If you're using uCommerce v3 you have to add your new provider to the custom.config file which you can found in "/umbraco/ucommerce/configuration/".

    For PayPal it looks like this:

    <component id="PayPal" service="UCommerce.Transactions.Payments.IPaymentMethodService, UCommerce" type="UCommerce.Transactions.Payments.PayPal.PayPalPaymentMethodService, UCommerce.Transactions.Payments" />

    So four your own you have something like this:

    <component id="Giropay" service="Namespace.Classname, Assembly"  type="Namespace.Classname, Assembly" />

    Hope that helps.

  • Avi 4 posts 34 karma points
    May 23, 2013 @ 16:24
    Avi
    0

    Thanks! it works...

    by the way another thought which crossed my mind, where should i keep the provider configuration info and how will it be provided to me in the ExternalPaymentMethodService/IPaymentMethodService implementation? 

Please Sign in or register to post replies

Write your reply to:

Draft