paypal - Google Forms 在提交时启动 Paypal

标签 paypal google-apps-script google-forms

我想使用 this SO question. 中描述的启动 Paypal 购买流程的 URL 方法

问题是,我似乎无法弄清楚如何在提交表单时启动一个新网站。我已经创建了一个函数并通过项目触发器按钮将其链接到 onSubmit,但这就是我停滞不前的地方。我似乎找不到关于它的任何其他信息。我是不是以错误的方式解决了这个问题,还是我应该查看其他内容?

function launchPayPal() {
     //launch website here?
}

enter image description here

最佳答案

Google 表单不允许您在提交表单时重定向到另一个网页。但是,您可以在提交表单时在屏幕上显示的消息中添加 PayPal 链接。

关于paypal - Google Forms 在提交时启动 Paypal,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28822231/

相关文章:

与 Paypal 的 Spring 请求映射

javascript - 谷歌脚本 : appendRow always on top of the sheet

google-apps-script - 提交与商品标签Google表单(Google脚本)不同的值

javascript - Google 表单提交时调用脚本的更快/更有效的方法

rest - PayPal REST API 500 内部服务错误仅在实时

PayPal Express Checkout onAuthorize 方法是否足以确认付款?

wordpress - Paypal 沙箱停止工作?

javascript - Google 电子表格提示中具有选择功能的单元格输入

javascript - 在谷歌脚本中附加带有复选框的行

javascript - 谷歌表单 : Include hyperlink in Email of the Doc's Google Drive location