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.

  • Filip Lundby 128 posts 149 karma points
    Feb 25, 2014 @ 16:40
    Filip Lundby
    0

    Submitting paytype to DIBS window

    When submitting order to the DIBS-window the parameter "paytype" is not posted and the user will have to choose thier creditcard once agian.

    Is this by design or am I missing something?

  • Jesper Nielsen 141 posts 498 karma points
    Mar 03, 2014 @ 12:28
    Jesper Nielsen
    0

    Hi Skooter,

    In the DibsPageBuilder implementation, the "paytype" value is added, if it is not null or empty. So it should be submitted, if the value is present.

    Kind regards,

    Jesper

  • Filip Lundby 128 posts 149 karma points
    Mar 03, 2014 @ 16:16
    Filip Lundby
    0

    It's odd 'cause the reciept/ordermail shows what card the user chose on the customer-information page (before posting to DIBS).

    This is what my code looks like:

    if (IsPost) {
    int paymentMethodId = Convert.ToInt32(Request.Form["paymentMethodId"]); TransactionLibrary.CreatePayment(paymentMethodId, -1, false, true); TransactionLibrary.ExecuteBasketPipeline(); 

    TransactionLibrary.RequestPayments();
  • Jesper Nielsen 141 posts 498 karma points
    Mar 07, 2014 @ 11:46
    Jesper Nielsen
    0

    Hi Skooter,

    And you are certain that we are not talking about the DibsPWPageBuilder.cs class I sent you a while ago? The one that has a commeted out line 71 saying:

                    //AddHiddenFieldIfValueNotNullOrEmpty(page, "paytype", Section.PayType);

    ?
    Kind regards,
    Jesper
  • Filip Lundby 128 posts 149 karma points
    Mar 07, 2014 @ 14:00
    Filip Lundby
    0

    Hi Jesper

    This is standard setup. No custom .NET. The uCommerce version is 5.1.1.14007 - installed from repository.

    Could be a bug?

  • Jesper Nielsen 141 posts 498 karma points
    Mar 07, 2014 @ 14:39
    Jesper Nielsen
    0

    Hi Skooter,

     

    The code is very clear.

    If you have configured a PayType in the configuration file of the payment service, the value should be added to the post.

    You can set the Debug value to true. This should display the page with a button to send to the gateway. There you should be able to see the value of "paytype", if any.

    Please double check that the configuration contains a value for "payType".

    Kind regards,

    Jesper

Please Sign in or register to post replies

Write your reply to:

Draft