英文:
Is there any stripe element to display a saved card to user.?
问题
嗨,我在我的React项目中使用Stripe。我需要显示用户保存的卡片。是否有Stripe组件可以向用户显示保存的卡片详情?
TIA
英文:
Hi I'm using stripe in my react project. I need to display the cards saved by user. Is there any stripe components to display the saved card details to the user.?
TIA
答案1
得分: 13
没有Stripe Element来显示已保存的卡片,您需要自己构建这部分。
您可以在后端检索客户的付款方式列表(https://stripe.com/docs/api/payment_methods/list),然后在您的用户界面中显示列表。
英文:
There is no Stripe Element to display saved cards, you'd have to build this yourself.
You'd retrieve the customer's list of PaymentMethods on your backend (https://stripe.com/docs/api/payment_methods/list) and then show the list in your UI.
答案2
得分: 2
以下是您要翻译的内容:
除了手动从Stripe API检索卡付款方式数据之外,您还可以使用这个漂亮的HTML5/CSS模板,它基本上完成了所有的工作:
https://codepen.io/DevUncoded/pen/rGjpXG
HTML/CSS:
<!-- 示例容器 -->
<style>
body {
background: #6609f2;
}
</style>
<link href="https://fonts.googleapis.com/css2?family=PT+Mono&display=swap" rel="stylesheet">
<div style='margin: auto; width: 400px; max-width: 95vw; font-family: "Helvetica Neue", Helvetica, sans-serif; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); padding: 10px; margin-top: 50px; margin-bottom: 50px; border-radius: 15px; background: #f9fcff;'>
<h1 style="font-weight: 500; text-align: center;">已保存的卡片</h1>
<!--
信息:可选择的类在悬停时添加指针和阴影动画。
-->
<!-- 卡片 -->
<!-- Visa - 可选择 -->
<div class="credit-card visa selectable">
<div class="credit-card-last4">
4242
</div>
<div class="credit-card-expiry">
08/25
</div>
</div>
<!-- Mastercard - 可选择 -->
<div class="credit-card mastercard selectable">
<div class="credit-card-last4">
8210
</div>
<div class="credit-card-expiry">
10/22
</div>
</div>
<!-- Amex - 可选择 -->
<div class="credit-card amex selectable">
<div class="credit-card-last4">
8431
</div>
<div class="credit-card-expiry">
01/24
</div>
</div>
<!-- Discover - 可选择 -->
<div class="credit-card discover selectable">
<div class="credit-card-last4">
9424
</div>
<div class="credit-card-expiry">
06/23
</div>
</div>
<!-- Diners - 可选择 -->
<div class="credit-card diners selectable">
<div class="credit-card-last4">
3237
</div>
<div class="credit-card-expiry">
08/25
</div>
</div>
<!-- JCB - 可选择 -->
<div class="credit-card jcb selectable">
<div class="credit-card-last4">
1060
</div>
<div class="credit-card-expiry">
02/21
</div>
</div>
<!-- Unionpay - 可选择 -->
<div class="credit-card unionpay selectable">
<div class="credit-card-last4">
0005
</div>
<div class="credit-card-expiry">
03/25
</div>
</div>
</div>
/* 主要信用卡容器 */
.credit-card {
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
border-radius: 7px;
width: 95%;
max-width: 250px;
position: relative;
transition: all 0.4s ease;
box-shadow: 0 2px 4px 0 #cfd7df;
min-height: 60px;
padding: 13px;
background: #1a1b1c;
color: #efefef;
}
.credit-card.selectable:hover {
cursor: pointer;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
/* 数字格式化 */
.credit-card-last4 {
font-family: "PT Mono", Helvetica, sans-serif;
font-size: 24px;
}
.credit-card-last4:before {
content: "**** **** **** ";
color: #4f4d4d;
font-size: 20px;
}
.credit-card.american-express .credit-card-last4:before,
.credit-card.amex .credit-card-last4:before {
content: "**** ****** *";
margin-right: -10px;
}
.credit-card
<details>
<summary>英文:</summary>
In addition to manually retrieving the card payment method data from Stripe API, you can make use of this nifty HTML5/CSS template, which is basically all of the work:
https://codepen.io/DevUncoded/pen/rGjpXG
HTML/CSS:
<!-- Example container -->
<style>
body {
background: #6609f2;
}
</style>
<link href="https://fonts.googleapis.com/css2?family=PT+Mono&display=swap" rel="stylesheet">
<div style='margin: auto; width: 400px; max-width: 95vw; font-family: "Helvetica Neue", Helvetica, sans-serif; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); padding: 10px; margin-top: 50px; margin-bottom: 50px; border-radius: 15px; background: #f9fcff;'>
<h1 style="font-weight: 500; text-align: center; ">Saved Cards</h1>
<!--
INFO: The selectable class adds a pointer and shadow animations on hover.
-->
<!-- Cards -->
<!-- Visa - selectable -->
<div class="credit-card visa selectable">
<div class="credit-card-last4">
4242
</div>
<div class="credit-card-expiry">
08/25
</div>
</div>
<!-- Mastercard - selectable -->
<div class="credit-card mastercard selectable">
<div class="credit-card-last4">
8210
</div>
<div class="credit-card-expiry">
10/22
</div>
</div>
<!-- Amex - selectable -->
<div class="credit-card amex selectable">
<div class="credit-card-last4">
8431
</div>
<div class="credit-card-expiry">
01/24
</div>
</div>
<!-- Discover - selectable -->
<div class="credit-card discover selectable">
<div class="credit-card-last4">
9424
</div>
<div class="credit-card-expiry">
06/23
</div>
</div>
<!-- Diners - selectable -->
<div class="credit-card diners selectable">
<div class="credit-card-last4">
3237
</div>
<div class="credit-card-expiry">
08/25
</div>
</div>
<!-- JCB - selectable -->
<div class="credit-card jcb selectable">
<div class="credit-card-last4">
1060
</div>
<div class="credit-card-expiry">
02/21
</div>
</div>
<!-- Unionpay - selectable -->
<div class="credit-card unionpay selectable">
<div class="credit-card-last4">
0005
</div>
<div class="credit-card-expiry">
03/25
</div>
</div>
</div>
/* MAIN CREDIT CARD CONTAINER */
.credit-card {
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
border-radius: 7px;
width: 95%;
max-width: 250px;
position: relative;
transition: all 0.4s ease;
box-shadow: 0 2px 4px 0 #cfd7df;
min-height: 60px;
padding: 13px;
background: #1a1b1c;
color: #efefef;
}
.credit-card.selectable:hover {
cursor: pointer;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
/* NUMBER FORMATTING */
.credit-card-last4 {
font-family: "PT Mono", Helvetica, sans-serif;
font-size: 24px;
}
.credit-card-last4:before {
content: "**** **** **** ";
color: #4f4d4d;
font-size: 20px;
}
.credit-card.american-express .credit-card-last4:before,
.credit-card.amex .credit-card-last4:before {
content: "**** ****** *";
margin-right: -10px;
}
.credit-card.diners-club .credit-card-last4:before,
.credit-card.diners .credit-card-last4:before {
content: "**** ****** ";
}
.credit-card-expiry {
font-family: "PT Mono", Helvetica, sans-serif;
font-size: 18px;
position: absolute;
bottom: 8px;
left: 15px;
}
/* BRAND CUSTOMIZATION */
.credit-card.visa {
background: #4862e2;
color: #eaeef2;
}
.credit-card.visa .credit-card-last4:before {
color: #8999e5;
}
.credit-card.mastercard {
background: #4f0cd6;
color: #e3e8ef;
}
.credit-card.mastercard .credit-card-last4:before {
color: #8a82dd;
}
.credit-card.american-express,
.credit-card.amex {
background: #1cd8b3;
color: #f2fcfa;
}
.credit-card.american-express .credit-card-last4:before,
.credit-card.amex .credit-card-last4:before {
color: #99efe0;
}
.credit-card.diners, .credit-card.diners-club {
background: #8a38ff;
color: #f5efff;
}
.credit-card.diners .credit-card-last4:before, .credit-card.diners-club .credit-card-last4:before {
color: #b284f4;
}
.credit-card.discover {
background: #f16821;
color: #fff4ef;
}
.credit-card.discover .credit-card-last4:before {
color: #ffae84;
}
.credit-card.jcb {
background: #cc3737;
color: #f7e8e8;
}
.credit-card.jcb .credit-card-last4:before {
color: #f28a8a;
}
.credit-card.unionpay {
background: #47bfff;
color: #fafdff;
}
.credit-card.unionpay .credit-card-last4:before {
color: #99dcff;
}
/* LOGOS */
.credit-card::after {
content: " ";
position: absolute;
bottom: 10px;
right: 15px;
}
.credit-card.visa::after {
height: 16px;
width: 50px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAQCAYAAABUWyyMAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAC4jAAAuIwF4pT92AAABWWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4b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F24960669WicTfuhfQdw+6CPaA454VQ7qaOQWEgn9oKTYH6Wf8x/Avwez5za3dhT4iYVf0alDxyVxpT8F0F+QJw0ZKyFWNO5JXzTnsa7MsEtDvvOGvDl3ftWv1DdsSjg6CafxLbYQLi8ZqFvwN9GziRx0p5nVy/I0oHzNZArOJv0GuDvu3kuZCl4NE4LXB3rPRl8DF508nTp9wO58BhG8jblWp8GzrVgjSGaCfVge4ExR3woq0CP1QpfRgXZGfslRHISn8S44zCb4XKEUGPhvvA3VTcXV8Eyrro4yt3e/FUP7+j8psxA9tvkf2Ud+xTFq1RE8+ekhfeXXNXOsHt13ZRG6leLwONQR+hfSkoxq34YOWIO6HFGYN/gPYr2H5o34UlkCcjXxYr8FnpnMt1vkwftcff8bPPHPxjaQ8VnCY66UTYDYo7kpKVWB55Dmr+hkjIs3tH+H1d+zdkhOB/Ifrk3XnTJHw5lndN6vPbxXb67Dt/xI5E9XyL+BfA89wBWRl3y934Cj4nTlrTo+f/tHJZ0T6YO1TuB3oxdJHjEXCX94PFsuoPgJLVfZ+8DtrX6ETMy1hxxI9+33yu63SYO+JBcCp2dtGb4eaw9eUDvcoDuDO++734s2EmeFEd8+cAVb4t7siDgb4U5/CyO04PY77GmM9gO0Y/jIWPwCLkn1ov//nwMDifhV0II4XBShXQi2C4ePEm2wudx+r+YUme/yL4rbKSR6F+LKpIq/UBxiSYDJ6EulyRY6UmOB7+riX1nGpH8sPohX0LpoMVmghvUDn/i1kJK6r45d4KB8CHfA98UI/A87APLoZpYNyq7oUd0M14G9HmX4f6CfrAMXeB35j6Oh3zEHSD/zg8xn3/A2haarqHiZpPAAAAAElFTkSuQmCC');
}
.credit-card.mastercard::after {
width: 40px;
height: 25px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAZCAYAAABD2GxlAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAs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87waZ+rIxqYdWNFDmLkLUhtjIrtNesmr8ClZ5QO29WpoqoqPEUeiAuINEJmEayt4g/RwHxioS3gkBiTu40NLMWyxZYkMGbRNN/vvDxvhVfownVR+mMojgTraykoH2XQIn8xD88Vcj1stCApKv75ptsi95Sb5drWFpb7kes8o1pCsbGIzBSxO6Apr0QH8MDynK0X3VIKjsiiPGqw3OJjtHK8MDg7X/OCGP10BCemc4HWvF2L6cz1i3JZKnowNyubhpVGaTTqP0+ybxe+lE6M8FJX9hnEVToDzFSjJcW9eIovB/H0Cj+hjGP+1FVsXpXwfo7+j+vomuXMBe9iyehdGd0XDUOr32UjJlAuDZjdD2iloNF2d9lYD2Pev5kYXfpvMgWi6T3o1XF2VvqfyBMXs6VwHVmAAAAAElFTkSuQmCC');
}
.credit-card.amex::after,
.credit-card.american-express::after {
width: 50px;
height: 14px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAOCAYAAABth09nAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAABa9JREFUSA3FVm2IVUUYnnPO3pvuuuYqWmqRaa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Rfr4eye2OKw7S5DjeC0aYGuUpciaf7NWrx2ZgIQ9pLfBMaz6pked5SzAqcBZ8dH5H+1Sf1aI4no03x3Od6xC3AA2ehw8Lmf4EpJVh/BmclMPwJjhckap+/LzW2jYtHwTEGDwErzIgn8/P4niuVOfrZXDH36QO0fYI4j6h7vs+rxoP8F+kdXLseK44x/rFZmW5PLmeoh+vbDhfHBoa4jeFeXkQ0xQbcyedcK72mkDMYBF7MB4D/w4+jldkKyPGA7O4WIs7KZeC6HHY2BdDh/snZkO0VwaFbSeOmG3WLwyXUkezp/lbOac0Zl2o1MPVav2+IJJb4H/mVC5/LWNyxeIc5O1H2EC5XJ5LzPfjO5gHdIQ6CfL0NYXyEa1SmrtpDKV8kDqIH5wTFHRiop79fR20pzRWCtfRRqr48bPE+86XOrDV/PixkB3EJiZskQbPdDf1K9GeQ0N2wUEQ8ATPMAcJD8HhA8dz9pQGxmq3NY7yIEy2CIyuE0VmRTYr/mok/xGgjxu+znEEP37LcB8HlDFPIaIHCU8CHwDGXxB8xM1SyLcy1hiBj5n4Hn2xHB/OWywmRBnjr+C5eFHWwL8C+QBispBbcMHxPeVvB7IKEwOPqSDZGshXw5dPMXvoY24O8uKG8LfJrIL9GuAnwfdDnnDQ5E96nngaACedD2agwAtyAA34BuWiMXNQ1XuYlMeeHiVfuwhcBTOGxXHyEEyMRIzPJz7Iotik2zmgpyNE27zMiRtn2ozj9OCH60MaoG/EsAGM2u383BDOsVAmyVf4w7A9C/2/CQn4B8nk/wthbhecbtwV18A1/gO9YNLvMyQVLwAAAABJRU5ErkJggg==');
}
.credit-card.diners::after,
.credit-card.diners-club::after {
width: 30px;
height: 24px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAYCAYAAADtaU2/AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAED2lUWHRYTUw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t9QiQjpNSKAma2LiuTqmUsChVLbdY99lLaHv1fWRFA7gvw+uRvrgI86Xg8mFw+fRudL/uFSIGtq4r3/2tQxcOHnh71GKBuLwkPLmRTOaorioC21T1q0Al+oqykKoF0WdxRF4mvRfG8OO9vZhhlDWWjilXKYaDcJnFSLvgad/Hs1/Poa2TVmUULufP/PBo4r1x7/kX7m+6e9P6Kr48bFYXS5EPAGLleZQTEgOH5FNAJaju06P40b5eHBrP+YmI4Q86BNV10w9GqX6Zw8jObscvWgYEFHu3uPkwjnT4MnH5mfsm7r7/K2/9umusNJ1MrYzHwnZJyCDlhpcHESDecfkf5BwXQ1em/b8cHvBbX+1HP2UqEbEx6POuCkZ0XoYzfHc9x6fPo/jlPUOQh1/HFiV2+YjzAaDojUSotb7+JdRHH/neTRW3rW2MVdbHSxAtsaW7lDiMJmdx5gI1/b1x/GuM1yYvmTjTcYkvUOrSRdo4hlzuj9h911vKfCHSItRHgWW2QLt87uK9ueeYcTPq7NtRV7pyTcSIG5pvTmU9v3+OfAtf5RauZ7OOuciO++6I7mR72JPHcbCvB93Mp7zTOpim4nNZDHP8D1/dNabXr017AAAAAElFTkSuQmCC');
}
.credit-card.discover::after {
width: 50px;
height: 14px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAOCAYAAABth09nAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLm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ytT8ExAD6srfoXeyOwtg8oSyK31wLlS+CknLjSFwlH4Z8Aj5LX7QrgApRHI+fn2iz1C+Bu+T1gfvi7qcfqqZUJPxIJe9IXfV2It9Nq8Bq4DawD7qjz3iZHbi11kH5wGHgWXciiEqiTd2BvAtPBNyBlM8Tvgw2nAS+EFHdrfsSWwX/IANpFPxExvyvWjwe/gXx46d+Jz8vgBFBWBdyRMWACGAQ77dOCWNj5VyE/Zp55eX70bsI+i/0j2kk0P4hTcHlcjhF397JHfhDtNUDsL7S10FY+3am4hrB9CMWP9lvm3IaB79Q5YA/frdMkeWn4oXTMk+Cy2ARccQHgK08pMyOvvNjGtDPW1Pi79ept5v8Xb/bpxqkr42fMiafDR1GeUAZzEP3BSy62T6ktzRjOK3YXX44x4s9mNqDeB2WsPT6+rGmnBSGt/mObOdr/Ap6tK4eqKaaFAAAAAElFTkSuQmCC');
}
.credit-card.jcb::after {
width: 30px;
height: 15px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAPCAYAAADzun+cAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsTAAALEwEAmpwYAAABWWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgpMwidZAAACsklEQVQ4EX2U32uOYRjH32c2zIjyKyc7IDkRZw4cMEcjxIHSyoH4C6yNNJRJOZKWAyeEQqI4wQnlhE0phCHmR1NsI43ttdnm8fk8nktPWu+3Prvu676v57qv+3rve0kJpWk6FbMdVkICRemfS5LkiZPEbsSsgRpdUNpauEbc7WwiTVdjjXW+GDcd/4GJauAiVJJFGXusUhBrh/O4XYzHKsReryZwEzTBOFiZJ9ROgLIbgyRZgm11Ao1AsTPGzoAfxBl/CMxdzi3mX07jhl00YSjaZ1LHod8M6qEKxsB2TSbjFsG8fNFNJlPixkXFiT8y2Q1usAqmwC9QFvQUXoNdshhPth5cc3PVBf2gH9/OZtwIVX4UctP46AqXxIDN8BZMGK0/ztoK/Gb4Brb9IbyHOIixu4nbgu2BpXAH3+LaoM5AN1QmHwVPJ8obadstyPFnOADqLDSA2vHXlC5j4zDT8rlZ2DqYmftztG7sZbCtc2EhqPjIFsVls5gvVP2TC7SA8WJQFhWbZRP88TBx+nuM++A+qPkw4QdWdBc2wDN4BadBNcAy8ELZjeVsupbN/e3a4SvYbn/zIbC4uCfOq21wEHaC6oDUqgzYD1beAgOO2WAfdi/Es/F3U+dZO4J9B0fBFr6EPWCn3NgDbSXuObYTXsAbfA/n3fjuP4UWCA0z6IVyTOS2Ebvuvzld361vfEgHNUM9hO/cCBg3rpPrQvwOFJG10ncXby+eitVLyHm7IHFhohu2OjrEMHtudiE64Z3xTlWb0NYox7bbxCYqJvA2x+YRrzUuYFj6AM6bJxTrzsW3PSazAuVz0rcLVi76Z7hMj7BxOuNiPaw5bsFVKHatmMtYT/4YOlzoBRMPQpyKYVb1TewJHfQJboD/MIqyM51wigK9lGXGl6AWPG3IjbvhpK/iD/ZAl+AbzJMOAAAAAElFTkSuQmCC');
}
.credit-card.unionpay::after {
width: 50px;
height: 30px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD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igs9rRyKXk1wyRUcsToeZGE2xlg8gGYuRNH3DDPtGt0YS3lrbh3unwupXUq/vzz8cQpBTnGzxFRUefXtoxALg9HcfpAQM8YJHLdTe2choAsonc163235htiVLgntQ9fb+Lr56AGFif/7hFjptqovdZui92BOhuYJfprc7sQuSaRomxwJvWfmjH+rp7P/uL/SmJZmyXJpxqSiYtyYX3Ih5wQDEDHB9nYurPDJk06SeRdU5j/OoMKso8hxJ158AhltxsAeZV6MxRWF5w1YWGgYfhgfKKUMXwhJbLyIwZ3BKcDBnfy5TzIJBXMwdBZLIoamfIaQXKTv1zYTwP0fAfwGNu1G2zKQzagAAAABJRU5ErkJggg==');
}
</details>
# 答案3
**得分**: 1
你可以通过Stripe Billing创建一个客户门户。在该门户内,用户可以查看他们添加的信用卡信息,管理、更新和删除它们。客户门户是由Stripe提供的托管页面:https://stripe.com/docs/billing/subscriptions/integrating-customer-portal。
门户将呈现如下样式:https://billing.stripe.com/session/_IOHbe75ZzSJ9eF4mMwaBlTGyateZ1kF
请注意,您无需使用计费订阅部分,您只需使用门户的支付管理功能。
<details>
<summary>英文:</summary>
One thing you can do is to create a customer portal through Stripe Billing. Inside that portal, the user can see the card they added, manage them, update them, and delete them. The customer portal is a hosted page made by Stripe: https://stripe.com/docs/billing/subscriptions/integrating-customer-portal.
The portal will looks like this: https://billing.stripe.com/session/_IOHbe75ZzSJ9eF4mMwaBlTGyateZ1kF
Notice that you don't need to use the billing subscription part. You can only use the payment management of the portal.
</details>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论