Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • suzyb 474 posts 932 karma points
    Aug 19, 2014 @ 13:53
    suzyb
    0

    Has the paymentprovider implementation changed

    In the documentation it says you need to add a template with the uWebshop PaymentHandler macro on it and assign it as the template to the payment provider.  However after installing v2.5.1.0 there is no PaymentHandler macro just a BasketHandler one.

    Has the implementation changed.  How does the response handler pick up the response.

  • uWebshop 35 posts 140 karma points
    Aug 19, 2014 @ 13:56
    uWebshop
    0

    Hi SuzyB,

    The basketHandler handles the payments now (already for some time, but we kep the 'dummy' paymenthandler).
    It knows when a payment node is requested and handles that. You don't need to connect it to the payment provider node anymore.
    We do'nt update the documentation on Zendesk, but moved to: http://docs.uwebshop.com/

    I hope this answer helps you forward, let me know if you have any other questions.

    Best,

    Arnold 

     

  • suzyb 474 posts 932 karma points
    Aug 20, 2014 @ 14:28
    suzyb
    0

    Reading the correct documentation helps (a little).

    nvm came back after a few hours with fresh eyes and think I see what I was missing.

  • suzyb 474 posts 932 karma points
    Aug 20, 2014 @ 21:32
    suzyb
    0

    Another quick question.  How is the response handler called from your payment provider when it uses a notification URL.

  • uWebshop 35 posts 140 karma points
    Aug 21, 2014 @ 11:31
    uWebshop
    1

    Hi SuzyB,

    Is all working now?

    You send the url of the response handler to the payment provider using: paymentProvider.ReportUrl();
    (an example can be seen here: https://github.com/uWebshop/PaymentProviders/blob/master/uWebshop.Payment.Ogone/OgonePaymentRequestHandler.cs) ;

    now that is just the full url of the payment provider node in the umbraco content tree (uWebshop part).
    When uWebshop 'detects' that this Url is requested (even when there is no/not the correct) hostname applied (it waches the 'path') it fires the payment provider response handler.

    Does that make sense?

    Best,

    Arnold

  • suzyb 474 posts 932 karma points
    Aug 22, 2014 @ 14:23
    suzyb
    0

    Yeah that makes sense.  I've managed to get the response back now so I think I'm almost there now.

    Another couple of questions however.  How do I access custom order properties in the response handler.  I want to add the transaction reference created when the payment is made and returned to my site to the order.  But I can't see how to do it.

    Also how do I get the order details from the order number when returned to my receipt page.

Please Sign in or register to post replies

Write your reply to:

Draft