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:
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.
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.
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.
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!
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.
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
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
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.
is working on a reply...