Hi guys,
I'm trying to use the Commerce Braintree module along side Card on file and Commerce recursion Framework but somehow every time I try to make a purchase (with this method) the order always ends up in pending and is never completed. If i try paying with a different method it always works.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | braintree_paidin_full_2359267-1.patch | 785 bytes | pdendis |
Comments
Comment #1
czigor commentedSame issue here. The order status should not be different from Pending but there's no recurring entity created since the commerce_payment_order_paid_in_full rules event does not get fired.
The problem is that in in commerce_payment_order_balance() $transaction->currency_code is not set.
Comment #2
pdendis commentedI attached patch that fix the empty currency code on transaction. Please give a try.
Comment #3
agileadamI have confirmed that this fixes the issue. Thank you!
Comment #4
TexUs commentedHi,
I just wanted to chime-in here for future issues...
I'm running latest (as of the date of this post) versions of everything.
I was finding that the payment was "Approved" when you go through Commerce- but couldn't find out why my license downloads and such weren't triggering effectively (and also, why my orders were not going to "Completed" status).
I figured my only hope was, since we are credit-card-only, changing the Rule to trigger based on checkout completion instead of the "paid in full" status (which obviously, wouldn't work if we ever wanted to accept checks, or ship stuff, etc, etc, etc).
I found this patch and it works beautifully out of the box- my licenses are triggering, orders completing, works well. Definitely needs to be integrated to the official build.
Comment #5
nyleve101 commentedI can confirm this patch also fixed things for me. Thanks!
Comment #6
luksakComment #7
rjdjohnston commented+1 for commiting
Comment #8
Kiendeleo commentedThis worked on the regular version
Comment #9
andyg5000Not sure how that was missed. Thanks!
Comment #11
Kiendeleo commentedThis patch doesn't work for the current dev version. Both the dropin and the standard version still have this bug
Comment #12
Kiendeleo commentedComment #13
andyg5000@kiendeleo, is your issue that the order paid in full rules event isn't firing or it just that the order isn't being moved out of the checkout statuses (ie: pending)?
Comment #14
Kiendeleo commentedI am having 2 issues. (correction)
With the 7.x-2.0-beta1 + patch version transactions process but all recurring transactions hard decline.
With 7.x-2.x-dev transactions process but all recurring transactions hard decline.
I am creating a new issue to deal with this as it seems that this is not the same issue.
Comment #15
tomtech commentedAutomatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.