我在客户输入卡参数并提交订单后收到错误402。注意:没有捕获,卡参数是Stripe中客户帐户中的记录,以便稍后捕获。它正在工作,有一天没有工作。不确定Stripe是否有任何改变,但这里是javascript代码,我认为它与状态控制台有关:
import tkinter as tk
root=tk.Tk()
root.geometry("400x400")
root.overrideredirect(True)
def close_program():
root.destroy()
def disable_event():
pass
btn = tk.Button(root, text = "Click me to close", command = close_program)
btn.pack()
root.protocol("WM_DELETE_WINDOW", disable_event)
root.mainloop()