小编Ste*_*eph的帖子

将多个存储过程导出到文本文件

在 SQL Server Management Studio 中,我有一个包含 200 个存储过程的数据库。我将每个存储过程导出为脚本,方法是右键单击 -> 脚本存储过程 -> 创建到 -> 文件。

是否可以使用 powershell 脚本或其他方式一次性导出所有过程?

sql-server

5
推荐指数
1
解决办法
8502
查看次数

为什么 Stripe checkout Webhooks 将 customer_email 发送到 null?

我尝试在 Checkout Stripe 新界面上付款后获取客户电子邮件。stripe Webhook 发布的 JSON 总是发送带有 null 值的 customer_email。

Stripe Checkout 页面要求提供客户电子邮件,所以我不明白为什么 Stripe 将此值发送回 null。

尽管如此,客户价值也不是空的。

{
  "id": "evt_1FItv8Kj5elW7ZcvEuY6",
  "object": "event",
  "api_version": "2019-03-14",
  "created": 1568539286,
  "data": {
    "object": {
      "id": "cs_test_123123123",
      "object": "checkout.session",
      "billing_address_collection": null,
      "cancel_url": "https://www.example.fr/canceled",
      "client_reference_id": null,
      "customer": "cus_FoWzBx2yusHfs9",
      "customer_email": null,
      "display_items": [
        {
          "amount": 1000,
          "currency": "eur",
          "quantity": 1,
          "sku": {
            "id": "sku_1234567",
            "object": "sku",
            "active": true,
            "attributes": {
              "name": "Product test"
            },
            "created": 1568538814,
            "currency": "eur",
            "image": null,
            "inventory": {
              "quantity": null,
              "type": "infinite", …
Run Code Online (Sandbox Code Playgroud)

webhooks stripe-payments

3
推荐指数
1
解决办法
1750
查看次数

标签 统计

sql-server ×1

stripe-payments ×1

webhooks ×1