add payment details page
This commit is contained in:
@@ -62,8 +62,9 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
if charge['success'] is True:
|
||||
transact.update(
|
||||
key=KeyPair(order_id, '0'),
|
||||
# Post-migration (orders): rename `payment_date` to `paid_at`
|
||||
update_expr='SET #status = :status, \
|
||||
paid_at = :now, \
|
||||
payment_date = :now, \
|
||||
updated_at = :now',
|
||||
expr_attr_names={
|
||||
'#status': 'status',
|
||||
|
||||
Reference in New Issue
Block a user