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.
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.
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.
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.
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.
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
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.
Another quick question. How is the response handler called from your payment provider when it uses a notification URL.
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
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.
is working on a reply...