longclawshop / longclaw

A shop for Wagtail CMS
MIT License
396 stars 83 forks source link

Declined transactions are not caught #102

Open JamesRamm opened 7 years ago

JamesRamm commented 7 years ago

Description

Transactions which are declined by the payment gateway (in this case braintree - unknown if it occurs with all gateways) still appear as orders in the longclaw admin:

image

The braintree admin however, indicates that this transaction was declined by the customers bank account due to insufficient funds. This is apparently not the same as a rejection:

https://articles.braintreepayments.com/control-panel/transactions/declines

It is more than likely that more advanced handling of different potential transaction states & statuses is required

alexfromvl commented 6 years ago

Hi. It is possible for these options should make your type of error in which to intercept the response from the system and displayed in the operator window. For these payments need their own type of status is payment error.

JamesRamm commented 5 years ago

Pushing back to 1.1 as this is more specific to braintree and I am prioritizing stripe support first.