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

[fix] paypal sandboxing to test dummy payments #2281

Merged
merged 2 commits into from
Nov 10, 2016

Conversation

saurabh6790
Copy link
Member

No description provided.

@@ -69,7 +69,18 @@ class PayPalSettings(IntegrationService):
supported_currencies = ["AUD", "BRL", "CAD", "CZK", "DKK", "EUR", "HKD", "HUF", "ILS", "JPY", "MYR", "MXN",
"TWD", "NZD", "NOK", "PHP", "PLN", "GBP", "RUB", "SGD", "SEK", "CHF", "THB", "TRY", "USD"]

def __init__(self, arg1, arg2=None):
Copy link
Member

Choose a reason for hiding this comment

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

why arg1, arg2, the standard is *args, **kwargs

self.set_sandbox_status(arg1)

def set_sandbox_status(self, args):
if isinstance(args, dict):
Copy link
Member

Choose a reason for hiding this comment

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

use kwargs

@rmehta rmehta merged commit 9ff094d into frappe:develop Nov 10, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants