Skip to content

Conversation

PetrDlouhy
Copy link
Contributor

PaypalProvider: Add also get() method to be able to use the provider to create also GET request to PayPal API.

Copy link
Member

@WhyNotHugo WhyNotHugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only one minor detail.

def post(self, payment, *args, **kwargs):
return self.http_request(payment, *args, http_method=requests.post, **kwargs)

def get(self, payment, *args, **kwargs):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a short docstring for this, so folks can find it and use it.

@WhyNotHugo
Copy link
Member

CI is now green, so rebasing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants