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.

  • Gonçalo Assunção 39 posts 68 karma points
    Jan 29, 2015 @ 11:33
    Gonçalo Assunção
    0

    Payment Provider "Dibs" not generating query string for Confirmation Page

    Hello guys! Usual suspect here!

    I have a order configuration, with 2 payments providers: Paypal and Dibs.

    When I get to the order confirmation page, I get the information about the order through the query string generated by the provider (well, in this case, this only happens with paypal).

    When Dibs is the payment provider, when I get to the confirmation page, it does not generate the query string with the order Guid.

    I have the same configuration in the .confi files of both payment providers:

    acceptUrl="url../order-confirmation.aspx"

    in the Macro I also have:
           
                TransactionLibrary.ExecuteBasketPipeline();
                TransactionLibrary.CreatePayment(paymentMethodId, requestPayment: false);
                TransactionLibrary.RequestPayments();
               
                 HttpContext.Current.Response.Redirect("ulr..confirmation.aspx=" + str_orderGuid);

     

    I tried to delete the acceptUrl in the config page, to see if It redirect to the page that I coded in the macro. But it redirects to the homepage.

    I also followed the steps in this tutorial:
    http://docs.ucommerce.net/ucommerce/v6/payment-providers/setup-dibs-as-a-payment-method.html

    and saw this thread:
    http://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/38551-Getting-PurchaseOrder-info-in-the-Confirmation-page

    This only happens with Dibs.

     

    Thank you in advance!

  • Thomas 30 posts 163 karma points
    Feb 04, 2015 @ 09:55
    Thomas
    1

    Hey Gonçalo.

    In the current version of the DIBS payment provider, the orderGuid is not added to the AcceptUrl nor CancelUrl.
    But the orderGuid can be found in the  request form, as shown in the screen capture below.
    You can access the information with the following code.

    var orderGuid = new Guid(HttpContext.Current.Request["orderGuid"]);

     

    In the next version of uCommerce 6.6, we will streamline the behavoir of this payment provider by adding the orderGuid to the return url when using Dibs.

    Thank you for your feedback 

     

    Kind regards

    Thomas Arvidsen

  • Gonçalo Assunção 39 posts 68 karma points
    Feb 12, 2015 @ 17:39
    Gonçalo Assunção
    0

    I got it to work, by checking the option "skip confirmation page" in the backoffice of Dibs itself. Dispite that option is unchecked, after the payment, Dibs still redirects to the confirmation page, and with all the data in the url.

    Thank you Thomas 

  • Thomas 30 posts 163 karma points
    Feb 20, 2015 @ 09:51
    Thomas
    0

    Hey Gonçalo

    I have been looking through DIBS's backoffice and i can't seem to find the option, could you send me af screenshot of where you found it?
    as we would like to add it to our documentation of the DIBS payment provider.

    Kind regards
    Thomas Arvidsen. 

     

Please Sign in or register to post replies

Write your reply to:

Draft