Currently, if a shop is using "Authorization only" as their Default credit transaction type there is no way to change the order status using conditional actions. When a shop is using "Auth & Capture Immediately" there is a conditional action trigger (payment entered) and a condition (check order balance) which can move a successful order into a new order status like "payment received."
What is needed is for the "check order balance" to also have the ability to include authorizations, which I've included as a patch. Probably also need another trigger, "authorization entered", but not sure where that would go.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | 1066264_balance_authorizations.patch | 1.3 KB | Island Usurper |
| #17 | 1066264_balance_authorizations.patch | 1.24 KB | Island Usurper |
| #14 | 1066264-payment-authorize-ca-4.patch | 1.21 KB | jrust |
| #12 | 1066264-payment-authorize-ca-3.patch | 1.2 KB | jrust |
| #9 | 1066264-payment-authorize-ca-3.patch | 1.22 KB | jrust |
Comments
Comment #1
jrust commentedComment #2
tr commentedComment #3
tr commentedRestarting testing on this thread.
Comment #5
jrust commentedNot sure why it didn't pass, but this latest patch is against 2.7 using git.
Comment #6
jrust commentedFixing syntax error.
Comment #8
tr commentedThe remaining exceptions are PHP notices. See http://drupal.org/node/34341 for how to turn on E_ALL in your local environment so you can see and debug these notices.
Comment #9
jrust commentedDigging the test system! Attached without the warning.
Comment #10
jrust commentedComment #11
longwaveIndentation appears to be one space out in the second part:
Comment #12
jrust commentedfixing whitespace.
Comment #14
jrust commentedTry again.
Comment #15
longwaveComment #16
longwaveThanks for your work on this! Committed to 6.x, needs porting to 7.x.
Comment #17
Island Usurper commentedHad to cross my eyes at that to make sure the logic was right, but I think I've got it now.
Comment #19
Island Usurper commentedLooks like setting the default value for that setting is important.
Comment #20
longwaveCommitted #19.
Comment #22
cookiecookl commentedHi,
I have the problem of my customer making a payment, it goes through and is completed as and order. But, the balance doesn't automatically amend itself to release the downloadable file.
If I manually change the balance everything works fine.
So my only question is how to make it automatically change the balance after a payment is received?