Skip to content

Commit 59f4c5f

Browse files
authored
Add api context save to the end of payment example
1 parent b905e97 commit 59f4c5f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/payment_example.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ def run():
4242
payment_id
4343
).value.to_json()
4444
)
45+
46+
# Save the API context to account for all the changes that might have occurred to it during the example execution
47+
api_context.save()

0 commit comments

Comments
 (0)