Your payment are first going through DIBS whenever you say TransactionLibrary.RequestPayment() (uCommerce v3). Whenever you excecute the basketpipeline all discounts and what not are calculated. So you could have a preview page on where you call RequestPayment when the use clicks "Complete payment" . Before that page you do whatever is needed to do (adding discounts and shippingmethods) and calling the executebasketpipeline.
Hope that makes sence, and was what you were asking?
I may come across as beeing a bit slow - but I don't quite get it.
When I tell the system to use DIBS i Orders / Payment Methods it redirects to the DIBS payment window at the same time in the checkout flow regardsless of the setting of the pipeline. I have looked in the pipeline configs and tried to move the AcquirePaymentTask elsewhere - still with the same result.
Moreover I cannot find anywhere in the xslt-files or other files where the RequestPayment is called. I am not sure where to look or put the RequestPayment method.
I have modified the standard xslt-store to fit the needs of the client on the free uCommerce version.
Are there some step-by-step instructions to change the checkout flow somewhere that I can refer to?
Ok. Let me try to clear the pipelines up a little bit for you.
ToCompletedOrder holds the AcquirePaymentTask, which won't redirect you to Dibs payment window. AcquirePayment will only take the authorized amount on the order and actually perform the acquire (charge the customer the specific amount).
Authorize is what happens when you get redirected and the customer types in his credit card informations. That happens when you use TransactionLibrary.RequestPayments (if you are on uCommerce v. 3.0).
When you execute the BasketPipeLine all prices and taxes and what not are calculated and cleaned up. You can execute that as many times as you want to. It won't redirect you to Dibs. So to support your flow, you would want to execute the basketpipeline at these steps:
Address -> Type of Shipping - > Type of payment -> Confirmation w. shipping
And on the finial shippin page you would have a button or so saying "To Payment" or whatever. That button would trigger request payment (TransactionLibrary.RequestPayments) which would redirect you to Dibs payment window.
Orderflow - Payment after Confirm order
Hi all,
I have made an agreement with DIBS as the payment provider for a uCommerce-shop. Technically it works.
However the current flow is:
Address -> Type of Shipping - > Type of payment -> Payment -> Confirmation w. shipping -> Order Confirmation
Is it possible to change that to:
Address -> Type of Shipping - > Type of payment -> Confirmation w. shipping -> Payment -> Order Confirmation
I would like the customer to see all the order specifications (with shipping, taxes, discounts) before the payment is made.
Or perhaps I have made a mistake somewhere?
Kind regards
Sonni T.
Your payment are first going through DIBS whenever you say TransactionLibrary.RequestPayment() (uCommerce v3). Whenever you excecute the basketpipeline all discounts and what not are calculated. So you could have a preview page on where you call RequestPayment when the use clicks "Complete payment" . Before that page you do whatever is needed to do (adding discounts and shippingmethods) and calling the executebasketpipeline.
Hope that makes sence, and was what you were asking?
Thank You for your input. I think it makes sense.
I will check out pipelines in more detail.
I may come across as beeing a bit slow - but I don't quite get it.
When I tell the system to use DIBS i Orders / Payment Methods it redirects to the DIBS payment window at the same time in the checkout flow regardsless of the setting of the pipeline. I have looked in the pipeline configs and tried to move the AcquirePaymentTask elsewhere - still with the same result.
Moreover I cannot find anywhere in the xslt-files or other files where the RequestPayment is called. I am not sure where to look or put the RequestPayment method.
I have modified the standard xslt-store to fit the needs of the client on the free uCommerce version.
Are there some step-by-step instructions to change the checkout flow somewhere that I can refer to?
Sonni T.
Ok. Let me try to clear the pipelines up a little bit for you.
ToCompletedOrder holds the AcquirePaymentTask, which won't redirect you to Dibs payment window. AcquirePayment will only take the authorized amount on the order and actually perform the acquire (charge the customer the specific amount).
Authorize is what happens when you get redirected and the customer types in his credit card informations. That happens when you use TransactionLibrary.RequestPayments (if you are on uCommerce v. 3.0).
When you execute the BasketPipeLine all prices and taxes and what not are calculated and cleaned up. You can execute that as many times as you want to. It won't redirect you to Dibs. So to support your flow, you would want to execute the basketpipeline at these steps:
Address -> Type of Shipping - > Type of payment -> Confirmation w. shipping
And on the finial shippin page you would have a button or so saying "To Payment" or whatever. That button would trigger request payment (TransactionLibrary.RequestPayments) which would redirect you to Dibs payment window.
is working on a reply...