Home Backend Development PHP Tutorial 200分:贝宝收款做,安全要注意什么? ,多谢

200分:贝宝收款做,安全要注意什么? ,多谢

Jun 13, 2016 pm 01:21 PM
input paypal quot

200分:贝宝收款做,安全要注意什么? 高手进,谢谢!
我去paypal看了,他的说明简直越看越糊涂,
我有一个贝宝帐户,然后要用户从的我网站付款,每次都会产生一个定单号,最后如果用户成功付款给我,要贝宝能够把那个那个定单号返回给我,怎样才能做到?
然后就是贝宝肯返回信息,肯定是返回给一个我的一个页面,我这个页面怎样才能识别伪造的信息?


------解决方案--------------------
up
------解决方案--------------------
up
------解决方案--------------------
你的表单
------解决方案--------------------
你的表单提交给paypal,表单中用一个是给paypal调用的页面,paypal会post数据到该页面,

这个页面里你再用post过来的数据连接到paypal验证是否正确。

paypal上有现成的php的例子和代码,
还有sandbox可以测试用,非常方便
------解决方案--------------------
mark
------解决方案--------------------
路过,接点分
------解决方案--------------------
MARK
------解决方案--------------------
说得比较模糊,你这叫我对贝宝不熟悉的人怎么搞呢
------解决方案--------------------
mark
------解决方案--------------------
贝宝是什么?
------解决方案--------------------
没用过,来顶下 不要一条裤衩
------解决方案--------------------
这个不是高手进,应该是熟手进
去paypaldev
------解决方案--------------------
翻出一个例子来,是paypal.com的,贝宝应该差不多,你可以改成sandbox的地址测试。




">










notify_url 是给paypal post 数据回来的页面,在该页面再连接paypal检验交易是否真实。
return是回来的页面,没有实际用途,一般显示感谢信息等等。。
注意这两个页面都需要提交绝对url,因为是给paypal用的,不能用相对url


------解决方案--------------------
和大多数SP做短信的差不多:)
------解决方案--------------------
最大的问题就是注意掉线时数据库的设计
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Online payments using PHP and PayPal Online payments using PHP and PayPal May 11, 2023 pm 03:37 PM

With the rapid development of the Internet, more and more companies choose to sell products and services online, which makes online payment a major need for companies. As the world's leading online payment platform, PayPal has also become the first choice for many companies. This article will introduce how to use PHP and PayPal to implement online payments. We will divide it into the following steps: Create a PayPal account and application Integrate PayPalSDK Obtain payment Token Processing Payment processing Payment confirmation Create a PayPal account and application To use P

How to encapsulate input components and unified form data in vue3 How to encapsulate input components and unified form data in vue3 May 12, 2023 pm 03:58 PM

Preparation Use vuecreateexample to create a project. The parameters are roughly as follows: use native input. Native input is mainly value and change. The data needs to be synchronized when changing. App.tsx is as follows: import{ref}from'vue';exportdefault{setup(){//username is the data constusername=ref('Zhang San');//When the input box changes, synchronize the data constonInput=;return( )=>({

How to implement laravel input hidden field How to implement laravel input hidden field Dec 12, 2022 am 10:07 AM

How to implement the laravel input hidden field: 1. Find and open the Blade template file; 2. Use the method_field method in the Blade template to create a hidden field. The creation syntax is "{{ method_field('DELETE') }}".

What is the reason why paypal cannot pay? What is the reason why paypal cannot pay? Sep 01, 2023 pm 05:00 PM

The reasons why PayPal cannot pay are due to insufficient account balance, payment method restrictions, transactions intercepted by the risk control system, payee account problems, network connection problems, and user account abnormalities, etc. Detailed introduction: 1. If the account balance is insufficient, you can increase the account balance through bank transfer or credit card recharge; 2. The payment method is restricted, check the payment settings and ensure that the selected payment method is not restricted; 3. The transaction is intercepted by the risk control system , contact PayPal customer service, provide relevant information to prove the legitimacy of the transaction, and request to lift payment restrictions, etc.

What to do if there is no cursor when clicking on the input box What to do if there is no cursor when clicking on the input box Nov 24, 2023 am 09:44 AM

Solutions for clicking the input box without a cursor: 1. Confirm the focus of the input box; 2. Clear the browser cache; 3. Update the browser; 4. Use JavaScript; 5. Check the hardware device; 6. Check the input box properties; 7. Debug JavaScript code; 8. Check other elements of the page; 9. Consider browser compatibility.

Do Europeans use paypal? Do Europeans use paypal? Nov 10, 2022 am 10:52 AM

Europeans use PayPal, but it is not universal and can only be used in areas where it is opened; PayPal is an online payment service provider headquartered in San Jose, California, USA; PayPal account is a secure online electronic account launched by PayPal. Use It can effectively reduce the occurrence of online fraud; the advanced management functions integrated into the PayPal account can control the details of every transaction.

GCash launches PayPal's stable coin, allowing Filipinos to trade cryptocurrency protected from price volatility GCash launches PayPal's stable coin, allowing Filipinos to trade cryptocurrency protected from price volatility Jul 31, 2024 am 06:36 AM

GCash on Tuesday said PayPal USD (PYUSD) tokens could now be traded via GCrypto, an in-app feature powered by the Philippine Digital Asset Exchange, at “low transaction fees.”

php提交表单通过后,弹出的对话框怎样在当前页弹出,该如何解决 php提交表单通过后,弹出的对话框怎样在当前页弹出,该如何解决 Jun 13, 2016 am 10:23 AM

php提交表单通过后,弹出的对话框怎样在当前页弹出php提交表单通过后,弹出的对话框怎样在当前页弹出而不是在空白页弹出?想实现这样的效果:而不是空白页弹出:------解决方案--------------------如果你的验证用PHP在后端,那么就用Ajax;仅供参考:HTML code

See all articles