轻松开始使用 BlueSnap 托管支付字段;
Easy start with BlueSnap hosted payment fields;
您好 – 我正在寻找一个简单的脚本,我可以将其复制并粘贴到我的网站中,这样我就可以开始使用 BlueSnap 的 HPF 字段进行销售。
该表格应包括取回令牌和向购物者收费所需的最基本元素,我不是在寻找任何设计,只是在寻找功能。
我有基础知识 - 但我需要看看完成后会是什么样子:
<form id="checkoutForm">
<div>
<label>Full Name:</label>
<input type="text" id="fullName">
</div>
<div>
<label>Card Number:</label>
<input type="text" id="cardNumber" data-bluesnap="ccn">
</div>
<div>
<label>Security Code:</label>
<input type="text" id="securityCode" data-bluesnap="cvv">
</div>
<div>
<label>Expiration Date (MM/YYYY):</label>
<input type="text" id="expirationDate" data-bluesnap="exp">
</div>
<button type="submit" id="buynowButton">Buy Now</button>
</form>
有人可以帮我吗?
为了实施 BlueSnap 托管支付字段,您需要做的就是
- Obtain the Hosted Payment Field token for the session
Add the BlueSnap JavaScript file to your checkout form
<script type="text/javascript" src="BLUESNAPDOMAINPATH/services/hosted-payment-fields/v2.0/bluesnap.hpf.min.js"></script>
Add the Hosted Payment Fields to your checkout form
<div data-bluesnap="ccn"></div>
<div data-bluesnap="exp"></div>
<div data-bluesnap="cvv"></div>
Add a script to initiate the Hosted Payment Fields with your Hosted Fields token
Add a script to submit credit card, expiration date and CVV data
您好 – 我正在寻找一个简单的脚本,我可以将其复制并粘贴到我的网站中,这样我就可以开始使用 BlueSnap 的 HPF 字段进行销售。 该表格应包括取回令牌和向购物者收费所需的最基本元素,我不是在寻找任何设计,只是在寻找功能。
我有基础知识 - 但我需要看看完成后会是什么样子:
<form id="checkoutForm">
<div>
<label>Full Name:</label>
<input type="text" id="fullName">
</div>
<div>
<label>Card Number:</label>
<input type="text" id="cardNumber" data-bluesnap="ccn">
</div>
<div>
<label>Security Code:</label>
<input type="text" id="securityCode" data-bluesnap="cvv">
</div>
<div>
<label>Expiration Date (MM/YYYY):</label>
<input type="text" id="expirationDate" data-bluesnap="exp">
</div>
<button type="submit" id="buynowButton">Buy Now</button>
</form>
有人可以帮我吗?
为了实施 BlueSnap 托管支付字段,您需要做的就是
- Obtain the Hosted Payment Field token for the session
Add the BlueSnap JavaScript file to your checkout form
<script type="text/javascript" src="BLUESNAPDOMAINPATH/services/hosted-payment-fields/v2.0/bluesnap.hpf.min.js"></script>
Add the Hosted Payment Fields to your checkout form
<div data-bluesnap="ccn"></div>
<div data-bluesnap="exp"></div>
<div data-bluesnap="cvv"></div>
Add a script to initiate the Hosted Payment Fields with your Hosted Fields token
Add a script to submit credit card, expiration date and CVV data