Skip to content

Commit

Permalink
fix: Allow card processing on guests when they are sent payment reque…
Browse files Browse the repository at this point in the history
…sts from the backend (#1381)
  • Loading branch information
DeveloperMetal authored Jun 11, 2021
1 parent a347687 commit f65f34d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def query_successful_authnet_transaction(request):
return transaction
return False

@frappe.whitelist()
@frappe.whitelist(allow_guest=True)
def get_status(data):
if isinstance(data, str):
data = json.loads(data)
Expand Down Expand Up @@ -231,7 +231,7 @@ def get_status(data):
}


@frappe.whitelist()
@frappe.whitelist(allow_guest=True)
def charge_credit_card(card, data):
"""
Charge a credit card
Expand Down

0 comments on commit f65f34d

Please sign in to comment.