Skip to content

Commit

Permalink
added paytm in schema choices
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsaicharan1 committed Aug 17, 2019
1 parent 93e7bab commit 35df768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/schema/orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def initial_values(self, data):
payment_mode = fields.Str(
default="free",
validate=validate.OneOf(choices=["free", "stripe", "paypal", "bank",
"cheque", "onsite", "omise", "alipay"]),
"cheque", "onsite", "omise", "alipay", "paytm"]),
allow_none=True)
paid_via = fields.Str(dump_only=True)
is_billing_enabled = fields.Boolean(default=False)
Expand Down

0 comments on commit 35df768

Please sign in to comment.