I've almost got my project sorted, I've integrated Braintree - made a payment successfully through the online-flow which I now want to refund, however - I get an error when I click the refund button:
I get a 404 for the file "braintree.standard.refundpayment.html" in the /App_Plugins/MerchelloProviders/views/dialogs/ folder.
I've looked and cannot find this file in the latest Merchello branch, nor does it appear in the Merchello package, file yet all the other braintree views exist.
I tried copying "payment.standard.refundpayment.html" from the old braintree github repo - it then shows on the screen, but none of the data binds correctly.
It looks like a new generic refund popup should be used (cash refund work fine!)
It is referenced in the source in the "BraintreeStandardTransactionPaymentGatewayMethod.cs" file.
Any ideas on what I need to do to get this to work??
Merchello 2.1.0 + FastTrack + Braintree Refunds - braintree.standard.refundpayment.html 404
Hi,
I've almost got my project sorted, I've integrated Braintree - made a payment successfully through the online-flow which I now want to refund, however - I get an error when I click the refund button:
I get a 404 for the file "braintree.standard.refundpayment.html" in the /App_Plugins/MerchelloProviders/views/dialogs/ folder.
I've looked and cannot find this file in the latest Merchello branch, nor does it appear in the Merchello package, file yet all the other braintree views exist.
I tried copying "payment.standard.refundpayment.html" from the old braintree github repo - it then shows on the screen, but none of the data binds correctly.
It looks like a new generic refund popup should be used (cash refund work fine!)
It is referenced in the source in the "BraintreeStandardTransactionPaymentGatewayMethod.cs" file.
Any ideas on what I need to do to get this to work??
Can you post this as an issue. It looks like the attribute reference needs to be updated. It should use the dialog here: https://github.com/Merchello/Merchello/tree/merchello-dev/src/Merchello.Providers.UI.Client/src/views/common/dialogs
As a quick work around you can copy and rename that one to the name that's giving you the 404. Bit hacky but it'll work. :-)
Thanks Rusty, I had tried taking the file from the old Braintree source, I didn't think of using the generic one!
I've made a copy and renamed it, all seems to work perfectly.
I'll log an issue now :-)
Thanks for the response and for helping me track the issue. I'll get the provider revised for the 2.1.0 release this week =)
is working on a reply...