Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Jul 21, 2023
1 parent 8c68411 commit 3c49a24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Adyen/services/checkout/payments_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ def __init__(self, client=None):
super(PaymentsApi, self).__init__(client=client)
self.service = "checkout"

def get_synchronous_result_of_payment_session(self, sessionId, idempotency_key=None, **kwargs):
def get_result_of_payment_session(self, sessionId, idempotency_key=None, **kwargs):
"""
Get a synchronous result of a payment session
Get the result of a payment session
"""
endpoint = f"/sessions/{sessionId}"
method = "GET"
Expand Down
4 changes: 2 additions & 2 deletions Adyen/services/checkout/recurring_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def __init__(self, client=None):
super(RecurringApi, self).__init__(client=client)
self.service = "checkout"

def delete_token_for_stored_payment_details(self, recurringId, idempotency_key=None, **kwargs):
def delete_token_for_stored_payment_details(self, storedPaymentMethodId, idempotency_key=None, **kwargs):
"""
Delete a token for stored payment details
"""
endpoint = f"/storedPaymentMethods/{recurringId}"
endpoint = f"/storedPaymentMethods/{storedPaymentMethodId}"
method = "DELETE"
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)

Expand Down

0 comments on commit 3c49a24

Please sign in to comment.