PHP Payment Development example, PHP payment instance
PHP Payment development process, share to everyone, for your reference, specific content as follows
1. Development environmentthinkphp 3.2.3: Service number, certifiedDevelopment Domain Name: http://test.paywechat.com (custom domain name, external network unreachable)
2. Need relevant documents and permission
Download the latest PHP SDK on the micro-credit Payment Developer Documentation page
Http://mch.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=11_1
This assumes that you have applied for a micro-letter payment
1. Micro-letter background configuration as shown
We test first, so add the test authorization directory and the test whitelist. Test Authorization directory is the directory where you want to ini
first, the constructionCreate a new Web project, named Payonline, and copy your downloaded case code to your project, my Code directory is as follows:
The acp_sdk.properties configuration file needs to be placed under the root of the classpath, where the parameter configuration information, below is the case provided by the configuration hint:
0. Note: 1 Depending on the package and the Upacp_sdk-1.0.0.jar must be added to the BuildPath. 2) Acp_sdk.properties placed in the SRC root directory.
We first in the mobile phone to upgrade the Alipay wallet to 9.0, and then click on the payment treasure in the personal head, in the data interface we click "Settings" open access, the effect is as follows
All right, after we open it, we'll find the following payment Treasure Wallet 9.0 Settings Click "Payment Settings" and then click Open to enter.
1, must first install the latest version of the mobile phone
2, QQ Wallet where I believe we all know, login mobile phone QQ Click on the top left corner of the head
3, then we can see the QQ wallet
4, then we enter the QQ wallet, and then we look down, you can see the payment code, click to open the function service
5, see the opening hint of the diagram, I understand the seconds, you
6, the payment
The next thing we want to talk about UnionPay payment is to use this Laravel package and integrate Omnipay to provide the UnionPay payment (UnionPay) interface--umnipay UnionPay.
1. Install UnionPay Payment Dependency Package
No more nonsense, the following directly cut to the point. Since we have installed the Ignited/laravel-omnipay package in the previous se
This assumes that you have applied for a micro-letter payment
1. Micro-letter background configuration as shown
We test first, so add the test authorization directory and the test whitelist. Test Authorization directory is the directory where you want to initiate a micro-letter request.
For example, the JSAPI initiation request is typically the directory where the jsapi.php resides for the test directory, and the white list is the developer's mic
Temporary Accept Alipay Payment task, the original study of the old version, later found that the new version is more simple and clear optimization, the use of the latest version, see the old version of the number of people, the new version of the less, I this most refined through practice drops, and common progress. 1. Download the mobile Payment Interface SDK2.0 Standard Edition, extract: (1) from the
1, in the mobile phone to open Alipay, enter after we click "Wealth" to open into
2, after entering into the "wealth" we will see their own "personal information" and then click on it.
3, after we enter the interface to click "Account and Security" and then find the following "Payment settings" open access
4. After entering, we find "Payment Setup" and click "Default
In this document
Abstract
History
Details
Submit a single payment processing request
Payment document Selection-Accounts payable
Create payment-payment
Format
Third-party payment, third-party payment platform
Third-party payment
First, register a merchant account on the third-party payment platform. The payment platform will assign you a merchant id, which is very important and requires a merchant key between the merchant id and
What does Alipay pay for?
Empty payment is only to give a kind of authorization, set the amount can be used in this kind of payment, the specific use of the following.
Bao use method of air payment
1, in the mobile phone into the payment of the wallet interface of the "empty Pay" option and click.
2, then pay the
Unity3D: How to Implement payment quickly? unity3d email payment
Andoid version
If you have successfully integrated login and sharing, this article will help you quickly integrate payment. This article is based on payment SDK3.1.1, that is, the latest SDK so far1) official integration documentation2) download officia
Problem Description:Ecstore payment is made using PayPal, the payment is not supported when the order is settled.Problem and Code Analysis:1, first must ensure that the default currency is the PayPal-supported currency, PayPal is currently paying ["Supportcurrency"]=>Array(17) { ["USD"]=>string(3) "USD" ["CAD"]=>string(3) "CAD" ["EUR"]=>string(3) "EUR" ["GBP"]=>string(3) "GBP" ["
Nodejs code scanning payment and nodejs paymentPreface
This article mainly records the problems I encountered during the code scanning payment process and provides some reference for you. I hope it will help you.Development Environment
Nodejs v8.1.0
Egg v1.1.0
Preparations
Public Account-appid
Merchant ID-mch_id
Key value (a 32-bit password required by the signature algorithm, which can be generated
Payment v 3.3.6, payment 3.3.6
Text description;
Prerequisites: Register and apply for a service number, and activate payment.
Parameters involved: AppId, AppSecret, original ID (automatic reply), mch_id (merchant ID), and Key (merchant Key: set by yourself .)
Unified Specifications:
Requirements
Unified encryption mode: MD5.
Unified Signature generation
This article mainly introduces information about the implementation code for paying the public account of PHPSDK, for more information, see this article.
Assume that you have applied for the payment.
1. background configuration
"> JSAPI payment
"> Card payment
"> Scan the QR code to pay
"> Order query
"> Order refund
"> Refund query
This article mainly introduces how to pay for the H5 page of the built-in browser. if you need more information, refer to the following, so I tried it. I just wanted to say it was really difficult, especially when debugging was inconvenient.
This is the official API documentation API
Payment preparation
Apply for a public account and apply for payment. this is very simple.After the application is completed
Use test catalog online test scan code payment found that the payment was successful, Notify_url did not receive notification. Official Documentation:
Set the test directory, the test person's number is added to the whitelist, and the page directory that initiated the payment must match the settings exactly. and send the
Detailed description of payment development process and payment process
I recently made a payment transfer in the company. Here I will summarize some development experiences.
Note: I am using the payment on the open platform, which is related to the mobile app, but not the public account.
Main procedure of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.