WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open
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
4 changes: 2 additions & 2 deletions press/utils/billing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import frappe
import razorpay
import stripe
from frappe.utils import fmt_money
from frappe.utils import fmt_money, now_datetime

from press.exceptions import CentralServerNotSet, FrappeioServerNotSet
from press.utils import get_current_team, log_error
Expand Down Expand Up @@ -142,7 +142,7 @@ def get_setup_intent(team):
"amount_type": "maximum",
"amount": 1500000,
"currency": currency.lower(),
"start_date": int(frappe.utils.get_timestamp()),
"start_date": int(frappe.utils.get_timestamp(now_datetime())),
"interval": "sporadic",
"supported_types": ["india"],
},
Expand Down