Copied to clipboard

Flag this post as spam?

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


  • Ian Smedley 97 posts 192 karma points
    Aug 21, 2016 @ 11:50
    Ian Smedley
    0

    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??

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Aug 21, 2016 @ 16:43
    Rusty Swayne
    0

    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. :-)

  • Ian Smedley 97 posts 192 karma points
    Aug 22, 2016 @ 21:06
    Ian Smedley
    0

    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 :-)

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Aug 22, 2016 @ 21:17
    Rusty Swayne
    0

    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 =)

Please Sign in or register to post replies

Write your reply to:

Draft