(20241218) Can now send tags to apply with the payment request itself, and can even update tags later.
This commit is contained in:
@@ -288,7 +288,7 @@ class PaymentController:
|
||||
amount = payment_request.amount,
|
||||
currencyCode = payment_request.currencyCode,
|
||||
metadata = payment_request.metadata.model_dump(),
|
||||
tags = ["payment", "safaricom", "mPesaExpress", "kenya"],
|
||||
tags = list(set(payment_request.tags + ["Payment", "Safaricom", "M-Pesa Express", "Kenya"])),
|
||||
serviceType = "paymentGateway",
|
||||
client = auth_token.client,
|
||||
clientPaymentReferenceId = None,
|
||||
|
||||
Reference in New Issue
Block a user