Copied to clipboard

Flag this post as spam?

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


  • Mohammed BOUTEBEL 64 posts 103 karma points
    Mar 14, 2017 @ 14:38
    Mohammed BOUTEBEL
    0

    BrainTree Payment integration

    Hello everyone.

    We are using Merchello, FastTrack and BrainTree to build a little e-commerce website with only one product.

    We are testing the checkout process with a BrainTree sandbox account.

    When we test credit cards that shoult trigger a "processor declined" response from BrainTree, It seems this BrainTree response is not managed by the BrainTree integration of Merchello/FastTrack. We have no notification but the transaction is validated by Merchello and the invoice is created.

    When we test a number that should trigger a "failed (3000)" response, it works correctly, we have a notification showing the payment failed.

    Anyone can help us, please ?

  • Chaz Klein 17 posts 88 karma points
    Mar 17, 2017 @ 17:21
    Chaz Klein
    0

    Hey Man,

    Having the same problem with Merchello and Fastrack with Braintree. No matter what I have done, I cannot get the sandbox to actually work. It posts in Merchello but it never actually hits the API for BrainTree. Extremely frustrating.

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Mar 20, 2017 @ 08:59
    Mohammed BOUTEBEL
    0

    Hello Chaz.

    We don't have the same issue, in fact.

    The transactions are correctly created with a valid credit card number. The problem is that it is alost created with some supposed wrong credit card numbers.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Mar 17, 2017 @ 18:12
    Rusty Swayne
    0

    Hey Mohammed,

    Can you confirm, you are getting your test card numbers from https://developers.braintreepayments.com/guides/credit-cards/testing-go-live/dotnet?

    Also, are you testing this via the FastTrack front end?

    Based on what you've described, I wonder if there is a missing check in the JavaScript when the conversion was made to their "hosted fields." It makes sense to at least start looking for an issue in the client side script that gets the token from Braintree albeit there is very difference between the JS in FastTrack and that published in their documentation.

    What needs to be confirmed is some sort of warning is returned in addition to a "nonce" - e.g. the error/warning in the callback must be passing this check https://github.com/Merchello/Merchello/blob/merchello-dev/src/Merchello.Mui.Client/src/jquery/mui/modules/checkout/components/payment.js#L140

    Once the nonce is set in the hidden field, Merchello saves the invoice and passes the value to the service that makes the server side call to Braintree. Can you confirm you are seeing the failed transaction in the Braintree control panel?

    I've created an issue here:
    http://issues.merchello.com/youtrack/issue/M-1306

    If you would, please add additional details to that issue.

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Mar 20, 2017 @ 08:35
    Mohammed BOUTEBEL
    0

    Hello Rusty.

    First of all, thantks for your fantastic product ;).

    Yes, I confirm you I'm getting my test card numbers from https://developers.braintreepayments.com/guides/credit-cards/testing-go-live/dotnet .

    And indeed, I'm testing on FastTrack front end.

    I'll check the Braintree control panel and go back to you. Thank you :).

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Mar 20, 2017 @ 08:58
    Mohammed BOUTEBEL
    0

    We have checked the Braintree sandbox dashboard, and the orders paid with a card number supposed to simulate an unsuccessful response are in fact marked as succeed payments.

    That's a pretty weird behaviour. Maybe it is an issue with the sandbox ?

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Mar 20, 2017 @ 15:22
    Rusty Swayne
    1

    I think we need to contact Braintree support.

  • Chaz Klein 17 posts 88 karma points
    Mar 20, 2017 @ 15:27
    Chaz Klein
    0

    Hey Rusty,

    I hope you both are able to get this issue resolved!

    Mohammed is correct, my issue is different and is definitely an issue with Merchello/FastTrack in terms of the BrainTree integration. Could you please take a look at my thread and give me some advice?

    https://our.umbraco.org/projects/collaboration/merchello/merchello/84479-merchello-fastrack-braintree-integration

    On my last comment, I gave an update about where I am at with it and what I've narrowed it down to.

    Greatly Appreciated! - Chaz

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Mar 28, 2017 @ 07:15
    Mohammed BOUTEBEL
    0

    Hello guys ! Any news about these issues ?

  • Chaz Klein 17 posts 88 karma points
    Mar 28, 2017 @ 14:38
    Chaz Klein
    0

    I have gotten no replies or help from anyone on my topic.

    Our client was getting anxious and to be honest I spent way too much time trying to find a solution by trying to upgrade, use the drop-in, etc. Nothing worked at all.

    What I ended up doing was creating a brand new project with the newest version of Umbraco, Merchello, and FastTrack. Then what I did was copy over the Merchello data from the DB to the new DB. Everything actually ported over correctly so that was a big sigh of relief; all of the products and their variants, data, shipping countries etc all ported over correctly.

    That was all that would transfer properly though. I then had to export all my document types and import them, re-upload all my media, and create all the new pages etc and populate all the content. This was cumbersome but still better than just waiting and spinning my wheels. So after having to re-create the entire website and then going into the specific partials and views for merchello and fasttrack and customizing those to match my old project I finally got it all finished.

    Word of advice if you're going to do this... first thing I did was create a brand new project and install merchello and fasttrack and then put in my Braintree sandbox information and test it. Once I saw that it was working correctly and posting to BrainTree I proceeded to do the rest. Best of luck to you man. Wish there was some more documentation on this or someone could have helped us.

    Cheers.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Mar 28, 2017 @ 23:41
    Rusty Swayne
    0

    Sorry for the struggle Chaz - but I'm glad you got it worked out. We're always looking for help (especially in documentation). It's a really big project and it takes a lot of effort to keep up with support questions, Umbraco versions and adding new features =)

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Mar 29, 2017 @ 16:31
    Rusty Swayne
    0

    Hi Mohammed - I've been a bit side tracked with a consulting job so have not had time to hit this in earnest.

    Pull requests are always welcome =)~

  • Mohammed BOUTEBEL 64 posts 103 karma points
    Mar 30, 2017 @ 07:18
    Mohammed BOUTEBEL
    0

    Hi Rusty.

    No problem. Thank you again for your precious time ;).

Please Sign in or register to post replies

Write your reply to:

Draft