-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated transaction attempts fail #4
Comments
So these are failed at their end? do they accept non-numeric? I'd kinda like to append a payment number with some sort of demarcation |
Not sure, but the error message seems like it is failing in core when it tries to create a pending contribution and finds a duplicate transaction id in the civicrm_contribution table. I think it is by design as I've seen similar message with dummy processor too while doing a debug at a point after contribution gets created. |
Are you sure the trxn_id is duplicated not the contribution_id - that seems odd |
Depends on how the second attempt of transaction is made? In my case, this is just by doing a refresh when an exit is done after submitting the confirm page(to check something after contribution is created). For eg -
and then do a reload of a page(due to same Similar I think is the error with network loss/browser timeout as chris mentions when a reload is performed with same params. |
OK - I think that is considered invalid actually - & mostly hit in testing. |
This happens for this and other processors in CiviCRM if the initial transaction fails, eg you don't have enough funds in your bank account (or mistype your CC), then retry the transaction. |
so there are a few things in play here - one is that under some circumstances I don't think Civi copes that well with browser refresh. But I've also observed in testing that sometimes the rollback does not delete the line items, causing DB fails - I think that doesn't happen 'in the wild'. However, you are talking about something else again? |
When making a second attempt at a transaction (either due to network / browser timeout, failed initial transaction etc):
Similar to eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#26 ?
The text was updated successfully, but these errors were encountered: