douce1368 2016-06-13 11:00
浏览 94

WooCommerce:在付款完成时,不允许用户刷新或重定向页面

How can this be implemented? In my country most of the E-Commerce websites have a notice which says "Please don't refresh the page while the payment completes" or something like that. Is this the standard practice around the world?

WooCommerce takes like 3-7 seconds for the payment to get completed. I don't want the user to refresh the page or redirect to another link while this happens. In case of a notice, which hook should I use to display a notice while the payment occurs? If there are better solutions than this which block any links the user clicks, please share. Thanks.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 如何用脚本实现输入法的热键设置
    • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
    • ¥30 深度学习,前后端连接
    • ¥15 孟德尔随机化结果不一致
    • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
    • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
    • ¥15 谁有desed数据集呀
    • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
    • ¥15 关于#hadoop#的问题
    • ¥15 (标签-Python|关键词-socket)