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