条纹“简单"结帐 - 检测是否单击了关闭按钮 [英] Stripe "Simple" Checkout - detect if close button is clicked

查看:29
本文介绍了条纹“简单"结帐 - 检测是否单击了关闭按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将 中可用.

I've integrated Stripe Checkout into my site and everything works great except for one aspect. I use the 'Simple' checkout mode where Stripe renders my checkout button for me. But I see no way in the docs to detect if the user clicks the close button (effectively cancelling the transaction - see image).

Is there a way to detect this in 'Simple' mode (as opposed to Custom)?

解决方案

(I work on Stripe Checkout)

The 'closed' callback is only available in the custom integration.

这篇关于条纹“简单"结帐 - 检测是否单击了关闭按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆