Google pay Developer account 在哪里以及如何生成 public 密钥上传到其中?
Where is Google pay Developer account and how to generate public key to upload in it?
No One on Whole of Stack overflow 没有人对此有答案,我不知道为什么,没有人使用 Google pay on android? .根据 google :
关注这个 link :
它讨论了在您的应用程序中使用 DIRECT 集成时强制执行的密钥轮换,这意味着如果您没有使用支付处理器 directly/explicitly。
内容如下:
Key rotation :
If you decrypt a payment method token directly on your servers with direct integration, then you must rotate the keys
annually.
To rotate encryption keys:
- Use OpenSSL to generate a new key pair.
- Open your Google Pay Developer
Profile while signed in with the Google Account used to manage your
app in Google Play Console Under the "Public encryption keys" section,
select the Add an encryption key button. Then, select the "Public
encryption key" text input field and add your newly generated public
key Base64-encoded in uncompressed point format. Click Save.
请参阅上面的屏幕截图 link。任何人都可以点击这个 link 并告诉我为什么它会让你进入支持页面而不是 Google 支付开发者帐户吗?
问题:
如何创建一个 google 付费开发者帐户?我需要付钱吗?我的公司已经有一个 google 付费控制台帐户(您可以在其中管理应用程序并将其上传到 goole play 商店)
我将在何处以及如何生成 public 密钥?
我将把这个 public 密钥上传到哪里以及如何上传到 google 付费开发者资料中?
谁能用清楚的例子和截图来解释这些步骤,将给予奖励。
编辑
好的,我已经在 mac 上使用终端应用程序生成了 public 和私钥。这是屏幕截图:
现在我需要将此密钥上传到 Google 付费开发者帐户,但我看不到任何 link 或任何描述如果我必须集成 google-支付到我的 android 应用程序。
我检查了这个 link 将近 50 次..我不知道真正的本地 android 或 iOS 开发者是否能够理解这个..但我们需要仔细完成下面 link 的每一步..
仍然无法获得关于如何创建或查找 google 付费开发者资料的明确答案
我确定您不必为此付费。你必须用这个 form
来申请
How to create a google pay developer account?
您需要注册生产访问权限:https://developers.google.com/pay/api/web/guides/test-and-deploy/request-prod-access
Do i need to pay?
不,您不需要支付。
My company already has a google pay console account ( Where you manage and upload apps to goole play store )
GooglePay 开发者资料不同于 GooglePlay 开发者控制台。如果您没有 Google 付费开发者资料,则需要注册一个。
Where and how will i generate public key?
以下 link 提供了有关如何使用 OpenSSL 生成 public 密钥的详细信息:https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography#using-openssl
重要位:
# generate private key
openssl ecparam -name prime256v1 -genkey -noout -out key.pem
# generate a base64-encoded public key
openssl ec -in key.pem -pubout -text -noout 2> /dev/null | grep "pub:" -A5 | sed 1d | xxd -r -p | base64 | paste -sd "[=10=]" -
Where and how will i upload this public key in google pay developer profile?
需要将 public 密钥添加到 Google 支付开发者资料中,并作为支付请求的一部分包含在内:https://developers.google.com/pay/api/android/reference/request-objects#direct
请注意,您需要注册 Google 支付 DIRECT
集成费用。
示例:
"tokenizationSpecification": {
"type": "DIRECT",
"parameters": {
"protocolVersion": "ECv2",
"publicKey": "BOdoXP1aiNp.....kh3JUhiSZKHYF2Y="
}
}
Can any one click on this link and tell me why it takes you to support page instead of Google pay developer account?
如果您使用可以访问 Google 付费开发者资料的 Google 帐户登录,您会看到 Google Pay Developer Profile details. If you are not logged in or do not have access to the profile you will be redirected to the support page.
您需要登录您的 Google 帐户,该帐户可以访问 Google 付费开发者资料。
编辑:更正了有关上传 public 密钥的信息。
更新:Google Pay 最近推出了 Business Console 来注册和管理 Google Pay 集成。
No One on Whole of Stack overflow 没有人对此有答案,我不知道为什么,没有人使用 Google pay on android? .根据 google :
关注这个 link :
它讨论了在您的应用程序中使用 DIRECT 集成时强制执行的密钥轮换,这意味着如果您没有使用支付处理器 directly/explicitly。
内容如下:
Key rotation : If you decrypt a payment method token directly on your servers with direct integration, then you must rotate the keys annually.
To rotate encryption keys:
- Use OpenSSL to generate a new key pair.
- Open your Google Pay Developer Profile while signed in with the Google Account used to manage your app in Google Play Console Under the "Public encryption keys" section, select the Add an encryption key button. Then, select the "Public encryption key" text input field and add your newly generated public key Base64-encoded in uncompressed point format. Click Save.
请参阅上面的屏幕截图 link。任何人都可以点击这个 link 并告诉我为什么它会让你进入支持页面而不是 Google 支付开发者帐户吗?
问题:
如何创建一个 google 付费开发者帐户?我需要付钱吗?我的公司已经有一个 google 付费控制台帐户(您可以在其中管理应用程序并将其上传到 goole play 商店)
我将在何处以及如何生成 public 密钥?
我将把这个 public 密钥上传到哪里以及如何上传到 google 付费开发者资料中?
谁能用清楚的例子和截图来解释这些步骤,将给予奖励。
编辑
好的,我已经在 mac 上使用终端应用程序生成了 public 和私钥。这是屏幕截图:
现在我需要将此密钥上传到 Google 付费开发者帐户,但我看不到任何 link 或任何描述如果我必须集成 google-支付到我的 android 应用程序。
我检查了这个 link 将近 50 次..我不知道真正的本地 android 或 iOS 开发者是否能够理解这个..但我们需要仔细完成下面 link 的每一步..
仍然无法获得关于如何创建或查找 google 付费开发者资料的明确答案
我确定您不必为此付费。你必须用这个 form
来申请How to create a google pay developer account?
您需要注册生产访问权限:https://developers.google.com/pay/api/web/guides/test-and-deploy/request-prod-access
Do i need to pay?
不,您不需要支付。
My company already has a google pay console account ( Where you manage and upload apps to goole play store )
GooglePay 开发者资料不同于 GooglePlay 开发者控制台。如果您没有 Google 付费开发者资料,则需要注册一个。
Where and how will i generate public key?
以下 link 提供了有关如何使用 OpenSSL 生成 public 密钥的详细信息:https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography#using-openssl
重要位:
# generate private key
openssl ecparam -name prime256v1 -genkey -noout -out key.pem
# generate a base64-encoded public key
openssl ec -in key.pem -pubout -text -noout 2> /dev/null | grep "pub:" -A5 | sed 1d | xxd -r -p | base64 | paste -sd "[=10=]" -
Where and how will i upload this public key in google pay developer profile?
需要将 public 密钥添加到 Google 支付开发者资料中,并作为支付请求的一部分包含在内:https://developers.google.com/pay/api/android/reference/request-objects#direct
请注意,您需要注册 Google 支付 DIRECT
集成费用。
示例:
"tokenizationSpecification": {
"type": "DIRECT",
"parameters": {
"protocolVersion": "ECv2",
"publicKey": "BOdoXP1aiNp.....kh3JUhiSZKHYF2Y="
}
}
Can any one click on this link and tell me why it takes you to support page instead of Google pay developer account?
如果您使用可以访问 Google 付费开发者资料的 Google 帐户登录,您会看到 Google Pay Developer Profile details. If you are not logged in or do not have access to the profile you will be redirected to the support page.
您需要登录您的 Google 帐户,该帐户可以访问 Google 付费开发者资料。
编辑:更正了有关上传 public 密钥的信息。
更新:Google Pay 最近推出了 Business Console 来注册和管理 Google Pay 集成。