add support to milti transaction
This commit is contained in:
@@ -40,7 +40,7 @@ class PaymentMethod(str, Enum):
|
||||
PIX = 'PIX'
|
||||
CREDIT_CARD = 'CREDIT_CARD'
|
||||
BANK_SLIP = 'BANK_SLIP'
|
||||
MANUAL = 'MANUAL'
|
||||
# MANUAL = 'MANUAL'
|
||||
|
||||
|
||||
class User(BaseModel):
|
||||
@@ -213,8 +213,8 @@ def checkout(payload: Checkout):
|
||||
)
|
||||
transact.put(
|
||||
item={
|
||||
'id': 'TRANSACTION',
|
||||
'sk': order_id,
|
||||
'id': order_id,
|
||||
'sk': 'CREDIT_CARD#PAYMENT_INTENT',
|
||||
'ttl': ttl(start_dt=now_, minutes=5),
|
||||
'created_at': now_,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user