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.
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.
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.
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.
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?
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 ?
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?
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.
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 =)
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 ?
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.
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.
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.
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 :).
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 ?
I think we need to contact Braintree support.
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
Hello guys ! Any news about these issues ?
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.
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 =)
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 =)~
Hi Rusty.
No problem. Thank you again for your precious time ;).
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.