updateFailureTransaction static method
Implementation
static Future<void> updateFailureTransaction({
required String transaction,
}) async {
_firestore.collection('razorpayPaymentTransaction').doc(transaction).update(
{
'status': 'failure',
'failureTime': FieldValue.serverTimestamp(),
},
);
}