Copied to clipboard

Flag this post as spam?

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


  • MB 273 posts 936 karma points
    Jul 01, 2019 @ 16:54
    MB
    0

    Viabill integration

    Hi guys,

    I'm working on adding Viabill to my TeaCommerce shop. I have followed their instructions at https://viabill.dk/pricetag_filer/PriceTag%20Documentation.pdf and got the pricetag visible where you can see how much you are going to pay etc..

    However, upon adding the product to my basket I can't see the ViaBill payment option because it doesn't seem to be a part of the Payment Providers Teacommerce supports.

    Is there anyway I can add the ViaBill payment provider?

    // Mike

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jul 02, 2019 @ 08:15
    Matt Brailsford
    100

    Hi Mike,

    We don't have anything out of the box for ViaBill but it's absolutely possible to create your own payment provider.

    Unfortunately the process isn't properly documented, but the best approach would be to take a look at the code of the existing payment provider and see how they work https://github.com/TeaCommerce/Tea-Commerce-Payment-Providers/tree/master/Source

    Take a look through those and let me know if you have any questions.

    Matt

  • MB 273 posts 936 karma points
    Jul 04, 2019 @ 13:27
    MB
    0

    Hi Matt,

    Thank you for looking at the ticket.

    Since I'm not a backend developer I think it's a bit 'dangerous' to create my own Payment Provider. If something goes wrong it will literally cost money.

    Matt, do I dare to ask if you guys at TeaCommerce has ViaBill integration on your roadmap? ;)

    // Mike

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jul 04, 2019 @ 13:42
    Matt Brailsford
    1

    Hi Mike,

    Unfortunately not at this time.

    The whole architecture around the payment provider is to allow custom providers to be developed based on the API of the payment gateway of the project. Unfortunately there are many gateways out there which would make it extremely difficult for us to implement them all. This is why many of the payment providers are already community contributed, but equally, many of them aren't really used that much so for us to maintain them all ourselves would be a huge investment (learning each payment providers API and developing a related payment provider would take a fair bit of time).

    Our main aim really is to support the major providers ourselves (PayPayl, Stripe, etc), but the rest will remain community supported. If we get enough demand for ViaBill, we may review this, but as it stands, it's not on our roadmap.

    If you aren't comfortable developing the payment provider yourself, it might be worth seeking out a dev company familiar with Tea Commerce who might be able to produce one for you. It should be a fairly focused scope of works so shouldn't be too big a job for someone.

    Hope this helps

    Matt

  • MB 273 posts 936 karma points
    Jul 08, 2019 @ 12:13
    MB
    0

    Hi Matt,

    Thank you for the explanation! I do not feel comfortable developing something up against a payment provider such as ViaBill. If I make a mistake, the consequences can be pretty severe I think.

    EDITED: I appreciate the help Matt, I actually found a solution in ePay. For anyone else who is looking to integrate ViaBill using ePay, simply do the following:

    Insert the price tag from the viaBill integration documentation, eg: <script>(function(){var o=document.createElement('script');o.type='text/javascript';o.async=true;o.src='https://pricetag.viabill.com/script/188Okcr0rhM%3D';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(o,s);})();</script>

    In ePay, simply go to Settings -> Viabill -> Insert the API key and wupti, that's basically it!

    // Mike

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jul 08, 2019 @ 13:26
    Matt Brailsford
    0

    Hi Mike

    I'm sure the folks at Tea Solutions (the previous TC owner) might be able to help https://teasolutions.dk/

    All the best

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft