PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 1/25/2018 1:53 PM by  Kurt
New payment gateway/method
 13 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Page 1 of 3123 > >>
Author Messages





New Member






--
10/4/2017 5:03 AM
    Hi all,

    I'm in the middle of looking into create a new payment gateway/method which is not a standard payment system and I'm looking for some advice....

    The payment server offers many types of payment options in 1 solution:

    - Sofort
    - PayPal
    - Mistercash
    - iDeal
    --- bank 1
    --- bank 2
    --- bank 3
    --- etc.
    The payment provider supplies a list of payment options that are active for the account holder via json

    All options can be built up and displayed on the checkout page.

    This is similar to the credit card within the system now: card1, card2 etc.

    I have 2 questions:
    1. Which dev option should I use, the "payment gateway" or "payment method" and whats the difference?
    2. How would I directly integrate the payment options i.e. now you have radio buttons with the payment options:

    - paypal
    - ogone
    - Moneris

    would like to replace this with:

    - Sofort,
    - PayPal,
    - Mistercash
    - iDeal
    --- bank 1
    --- bank 2
    --- bank 3
    --- etc.

    which is generated by 1 payment gateway/method and iDeal would have a dropdown of banks.

    I have done this already in NBStore but I'm looking at doing the same in your system.

    Any advice would be helpful.

    Regards,
    Geoff.
    Geoff Barlow [url=https://dnnconsulting.net]https://dnnconsulting.net[/url]





    Veteran Member






    --
    10/4/2017 2:28 PM
    Great post, Geoff!

    With iDeal, would it be implemented in a way that the customer chooses the bank, or the store owner chooses the bank?
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    New Member






    --
    10/5/2017 2:48 AM
    Hey Will,
    Correct, the customer would choose the bank, most likely from a drop down so..

    The customer would have a choice of:

    - Sofort (radio button)
    - PayPal (radio button)
    - Mistercash (radio button)
    - iDeal (radio button with drop down)
    --- bank 1 (choice from drop down after iDeal is selected)
    --- bank 2 (choice from drop down after iDeal is selected)
    --- bank 3 (choice from drop down after iDeal is selected)
    --- etc.

    All options are supplied from an api from the supplier of the payment system.

    I was looking at the '_DisplayPaymentMethods.cshtml' to see if I can bring in all the payment functionality there to build the payment options and build the dropdown from there (don't know if this is a good thing to do) but ran into the problem of not being able to bring in the Payment settings..

    Tried:

    var settingVals = new DnnC.MolliePayment.MolliePaymentSettings();
    var methodSettings = HccApp.CurrentStore.Settings.MethodSettingsGet(MolliePayment.Id());
    settings.Merge(methodSettings);

    but had a problem with HccApp not being recognized

    Thanks for the advice so far,
    Regards,
    Geoff.
    Geoff Barlow [url=https://dnnconsulting.net]https://dnnconsulting.net[/url]





    Basic Member






    --
    10/5/2017 6:50 AM
    Dear Geoff,

    Can you share this HCC (payment) extension with us (on github). Maybe I can help you.





    Veteran Member






    --
    10/5/2017 2:00 PM
    Geoff:

    The payment methods you see in checkout are loaded via an extension point.

    https://hotcakescommerce....yment-Method-Example

    Each of the radio button options represent a specific payment method. You'd want to use this extension point to create a separate payment method for Sofort, Mistercash, and iDeal. PayPal already exists (but it needs to be updated to use the new API's).

    The only problem here is that in addition to creating these payment methods, there currently isn't a built-in way to change the UI to display an additional drop down list option based upon a payment method type. In order to do this, you'd have to update your custom viewset to support it. This is technically not a core change, but rather just modifying the viewset extension point.
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes
    You are not authorized to post a reply.
    Page 1 of 3123 > >>


    Loading
    • Sign-up for the Hotcakes Community Newsletter: