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.

  • Sonni Tost 20 posts 72 karma points
    Feb 18, 2013 @ 15:47
    Sonni Tost
    0

    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.

  • Morten Skjoldager 440 posts 1499 karma points
    Feb 18, 2013 @ 16:11
    Morten Skjoldager
    0

    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?

  • Sonni Tost 20 posts 72 karma points
    Feb 19, 2013 @ 16:36
    Sonni Tost
    0

    Thank You for your input. I think it makes sense.

    I will check out pipelines in more detail.

  • Sonni Tost 20 posts 72 karma points
    Feb 21, 2013 @ 12:50
    Sonni Tost
    0

    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.

  • Morten Skjoldager 440 posts 1499 karma points
    Feb 22, 2013 @ 09:31
    Morten Skjoldager
    0

    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. 

Please Sign in or register to post replies

Write your reply to:

Draft