<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>支付宝处理 &#8211; 个人随笔</title>
	<atom:link href="/label/%E6%94%AF%E4%BB%98%E5%AE%9D%E5%A4%84%E7%90%86/feed" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description></description>
	<lastBuildDate>Sun, 28 Apr 2024 07:54:26 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.1</generator>

<image>
	<url>/wp-content/uploads/2022/01/cropped-截屏2022-01-01-18.57.09-32x32.png</url>
	<title>支付宝处理 &#8211; 个人随笔</title>
	<link>/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>支付宝相关</title>
		<link>/%e8%b5%84%e6%96%99/6966.html</link>
					<comments>/%e8%b5%84%e6%96%99/6966.html#respond</comments>
		
		<dc:creator><![CDATA[Mr.Lee]]></dc:creator>
		<pubDate>Sun, 20 May 2018 01:57:15 +0000</pubDate>
				<category><![CDATA[资料]]></category>
		<category><![CDATA[支付宝处理]]></category>
		<guid isPermaLink="false">/?p=6966</guid>

					<description><![CDATA[支付宝处理 ①-申请 如果要使用支付宝的接口，需要成为支付宝的签约商户。（和支付宝签约一个电子合同） 网站：h [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2>支付宝处理</h2>
<h3>①-申请</h3>
<ol>
<li>如果要使用支付宝的接口，需要成为支付宝的签约商户。（和支付宝签约一个电子合同）</li>
</ol>
<p>网站：<a href="/goto/pv02" rel="nofollow">https://b.alipay.com/</a></p>
<p>如果是商家，需要提供一些企业的资历（营业执照&#8230;.）（<strong>即时到账</strong>）</p>
<p>但是现在注意：支付宝已经不再提供个人的申请页面。（担保交易：已经取消了）</p>
<p><img fetchpriority="high" decoding="async" width="1229" height="423" class="wp-image-6967" src="/wp-content/uploads/2018/05/word-image-6355.png" srcset="/wp-content/uploads/2018/05/word-image-6355.png 1229w, /wp-content/uploads/2018/05/word-image-6355-300x103.png 300w, /wp-content/uploads/2018/05/word-image-6355-768x264.png 768w, /wp-content/uploads/2018/05/word-image-6355-1024x352.png 1024w" sizes="(max-width: 1229px) 100vw, 1229px" /></p>
<p>2. 申请签约地址：</p>
<p><a href="/goto/uakw" rel="nofollow">https://b.alipay.com/signing/productDetail.htm?productId=I1011000290000001000</a></p>
<p><img decoding="async" width="1221" height="425" class="wp-image-6968" src="/wp-content/uploads/2018/05/word-image-6356.png" srcset="/wp-content/uploads/2018/05/word-image-6356.png 1221w, /wp-content/uploads/2018/05/word-image-6356-300x104.png 300w, /wp-content/uploads/2018/05/word-image-6356-768x267.png 768w, /wp-content/uploads/2018/05/word-image-6356-1024x356.png 1024w" sizes="(max-width: 1221px) 100vw, 1221px" /></p>
<p>3. 接入流程</p>
<p><img decoding="async" width="1232" height="393" class="wp-image-6969" src="/wp-content/uploads/2018/05/word-image-6357.png" srcset="/wp-content/uploads/2018/05/word-image-6357.png 1232w, /wp-content/uploads/2018/05/word-image-6357-300x96.png 300w, /wp-content/uploads/2018/05/word-image-6357-768x245.png 768w, /wp-content/uploads/2018/05/word-image-6357-1024x327.png 1024w" sizes="(max-width: 1232px) 100vw, 1232px" /></p>
<p>这里面包含支付宝提供的一个接口文档和接口代码</p>
<p>网站：</p>
<p><a href="/goto/wudf" rel="nofollow">https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.Ix6HLx&amp;treeId=62&amp;articleId=103566&amp;docType=1</a></p>
<p><img loading="lazy" decoding="async" width="1093" height="308" class="wp-image-6970" src="/wp-content/uploads/2018/05/word-image-6358.png" srcset="/wp-content/uploads/2018/05/word-image-6358.png 1093w, /wp-content/uploads/2018/05/word-image-6358-300x85.png 300w, /wp-content/uploads/2018/05/word-image-6358-768x216.png 768w, /wp-content/uploads/2018/05/word-image-6358-1024x289.png 1024w" sizes="(max-width: 1093px) 100vw, 1093px" /></p>
<p>4. 把上面的demo下载到本地进行测试。</p>
<p><img loading="lazy" decoding="async" width="522" height="242" class="wp-image-6971" src="/wp-content/uploads/2018/05/word-image-6359.png" srcset="/wp-content/uploads/2018/05/word-image-6359.png 522w, /wp-content/uploads/2018/05/word-image-6359-300x139.png 300w" sizes="(max-width: 522px) 100vw, 522px" /></p>
<p>php 开发资料</p>
<p><img loading="lazy" decoding="async" width="615" height="310" class="wp-image-6972" src="/wp-content/uploads/2018/05/word-image-6360.png" srcset="/wp-content/uploads/2018/05/word-image-6360.png 615w, /wp-content/uploads/2018/05/word-image-6360-300x151.png 300w" sizes="(max-width: 615px) 100vw, 615px" /></p>
<p>5. 把上面的demo下载完成后，这个时候，需要在demo里面进行配置，配置当时签约支付宝之后，支付宝提供的一个id和一个key。登录支付宝账号即可查询，例如：</p>
<p><img loading="lazy" decoding="async" width="902" height="632" class="wp-image-6973" src="/wp-content/uploads/2018/05/word-image-6361.png" srcset="/wp-content/uploads/2018/05/word-image-6361.png 902w, /wp-content/uploads/2018/05/word-image-6361-300x210.png 300w, /wp-content/uploads/2018/05/word-image-6361-768x538.png 768w" sizes="(max-width: 902px) 100vw, 902px" /></p>
<p><img loading="lazy" decoding="async" width="885" height="383" class="wp-image-6974" src="/wp-content/uploads/2018/05/word-image-6362.png" srcset="/wp-content/uploads/2018/05/word-image-6362.png 885w, /wp-content/uploads/2018/05/word-image-6362-300x130.png 300w, /wp-content/uploads/2018/05/word-image-6362-768x332.png 768w" sizes="(max-width: 885px) 100vw, 885px" /></p>
<h3>②-配置使用</h3>
<ol>
<li>配置申请的id和key</li>
</ol>
<p><img loading="lazy" decoding="async" width="1190" height="602" class="wp-image-6975" src="/wp-content/uploads/2018/05/word-image-6363.png" srcset="/wp-content/uploads/2018/05/word-image-6363.png 1190w, /wp-content/uploads/2018/05/word-image-6363-300x152.png 300w, /wp-content/uploads/2018/05/word-image-6363-768x389.png 768w, /wp-content/uploads/2018/05/word-image-6363-1024x518.png 1024w" sizes="(max-width: 1190px) 100vw, 1190px" /></p>
<ol>
<li>在return_url.php文件完成支付后的逻辑</li>
</ol>
<p><img loading="lazy" decoding="async" width="1162" height="631" class="wp-image-6976" src="/wp-content/uploads/2018/05/word-image-6364.png" srcset="/wp-content/uploads/2018/05/word-image-6364.png 1162w, /wp-content/uploads/2018/05/word-image-6364-300x163.png 300w, /wp-content/uploads/2018/05/word-image-6364-768x417.png 768w, /wp-content/uploads/2018/05/word-image-6364-1024x556.png 1024w" sizes="(max-width: 1162px) 100vw, 1162px" /></p>
<ol>
<li>在CartController.class.php文件的order2方法里面完成订单的生成后，跳转到支付页面</li>
</ol>
<p><img loading="lazy" decoding="async" width="996" height="744" class="wp-image-6977" src="/wp-content/uploads/2018/05/word-image-6365.png" srcset="/wp-content/uploads/2018/05/word-image-6365.png 996w, /wp-content/uploads/2018/05/word-image-6365-300x224.png 300w, /wp-content/uploads/2018/05/word-image-6365-768x574.png 768w" sizes="(max-width: 996px) 100vw, 996px" /></p>
<ol>
<li>在order2.html页面，修改提交的地址，设置form的action为阿里提供的API地址。</li>
</ol>
<p><img loading="lazy" decoding="async" width="1163" height="545" class="wp-image-6978" src="/wp-content/uploads/2018/05/word-image-6366.png" srcset="/wp-content/uploads/2018/05/word-image-6366.png 1163w, /wp-content/uploads/2018/05/word-image-6366-300x141.png 300w, /wp-content/uploads/2018/05/word-image-6366-768x360.png 768w, /wp-content/uploads/2018/05/word-image-6366-1024x480.png 1024w" sizes="(max-width: 1163px) 100vw, 1163px" /></p>
<p>效果</p>
<p><img loading="lazy" decoding="async" width="1104" height="459" class="wp-image-6979" src="/wp-content/uploads/2018/05/word-image-6367.png" srcset="/wp-content/uploads/2018/05/word-image-6367.png 1104w, /wp-content/uploads/2018/05/word-image-6367-300x125.png 300w, /wp-content/uploads/2018/05/word-image-6367-768x319.png 768w, /wp-content/uploads/2018/05/word-image-6367-1024x426.png 1024w" sizes="(max-width: 1104px) 100vw, 1104px" /></p>
<ol>
<li>付款</li>
</ol>
<p><img loading="lazy" decoding="async" width="1075" height="684" class="wp-image-6980" src="/wp-content/uploads/2018/05/word-image-6368.png" srcset="/wp-content/uploads/2018/05/word-image-6368.png 1075w, /wp-content/uploads/2018/05/word-image-6368-300x191.png 300w, /wp-content/uploads/2018/05/word-image-6368-768x489.png 768w, /wp-content/uploads/2018/05/word-image-6368-1024x652.png 1024w" sizes="(max-width: 1075px) 100vw, 1075px" /></p>
<p><img loading="lazy" decoding="async" width="1030" height="484" class="wp-image-6981" src="/wp-content/uploads/2018/05/word-image-6369.png" srcset="/wp-content/uploads/2018/05/word-image-6369.png 1030w, /wp-content/uploads/2018/05/word-image-6369-300x141.png 300w, /wp-content/uploads/2018/05/word-image-6369-768x361.png 768w, /wp-content/uploads/2018/05/word-image-6369-1024x481.png 1024w" sizes="(max-width: 1030px) 100vw, 1030px" /></p>
<p>成功付款后</p>
<p><img loading="lazy" decoding="async" width="824" height="138" class="wp-image-6982" src="/wp-content/uploads/2018/05/word-image-6370.png" srcset="/wp-content/uploads/2018/05/word-image-6370.png 824w, /wp-content/uploads/2018/05/word-image-6370-300x50.png 300w, /wp-content/uploads/2018/05/word-image-6370-768x129.png 768w" sizes="(max-width: 824px) 100vw, 824px" /></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>/%e8%b5%84%e6%96%99/6966.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
