Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all services #301

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Adyen/services/checkout/utility_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ def origin_keys(self, request, idempotency_key=None, **kwargs):
method = "POST"
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

def updates_order_for_paypal_express_checkout(self, request, idempotency_key=None, **kwargs):
"""
Updates the order for PayPal Express Checkout
"""
endpoint = self.baseUrl + f"/paypal/updateOrder"
method = "POST"
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ def upload_android_app(self, companyId, idempotency_key=None, **kwargs):
method = "POST"
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)

def upload_android_certificate(self, companyId, idempotency_key=None, **kwargs):
"""
Upload Android Certificate
"""
endpoint = self.baseUrl + f"/companies/{companyId}/androidCertificates"
method = "POST"
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)

Loading