English 中文(简体)
如何以有力方式实施薪pal法
原标题:how to implement paypal code in robust way
  • 时间:2012-04-18 05:51:23
  •  标签:
  • paypal

Hi I have following code for paypal payment.Here I am redirecting it to paypal sandbox for testing. I have following doubts in that

(1) 如何承认付款意味着 如任何用户支付,如何将钱转给特定账户(Merchant)

2) In the paypal site, after paying amount,user will have option return to site, if he clicks on that he will redirects to my site http://Myrurl/Payments.aspx?cc=success. Based on the query string I will update his payment in my DB.

问题在于用户支付安全费用,如果他在返回现场时不点击,那么他的付款不会在我的行文中更新。

请给我任何解决办法或如何执行《薪pal法》。

 <div style="display: block;" align="center">
    <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_xclick" />
    <input type="hidden" name="business" value="[email protected]" />
    <input type="hidden" name="lc" value="US" />
    <input type="hidden" name="item_name" value="" />
    <input type="hidden" name="item_number" value="" />
    <input type="hidden" name="amount" value="" />
    <input type="hidden" name="currency_code" value="USD" />
    <input type="hidden" name="button_subtype" value="services" />
    <input type="hidden" name="notify_url" value=" " />
    <input type="hidden" name="return" value="http://localhost:17743/payments.aspx?cc=success" />
    <input type="hidden" name="cancel_return" value="http://localhost:17743/payments.aspx?cc=cancel" />
    <input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynowCC_LG.gif:NonHostedGuest" />
    <input name="imgCreditcard" style="text-align: center;" type="image" src="images/pay.jpg"
        border="0" alt="PayPal - The safer, easierway to pay online!" /><!-- paypal1  ~/images/paypal1.jpg-->
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1"
        height="1" />
    <div id="divBack" runat="server" style="margin-left: -625px;" onclick="document.location.href=( ../Home.aspx )">
    </div>
    </form>
</div>
问题回答

薪金计划有一个尼共(毛主义)退税方案。 这是你在薪棕榈环境中可以确定的back。 这可能是这样的:

http://Myrurl/paypal-ipn.aspx

这一午餐会一旦设立,将按支付活动收费。 该页上的《生产者价格指数》变量将包含不同的价值,这些数值将告诉你支付情况。 你们也可以派一个员额来核实这一呼吁是正当的,而不是由他人来欺诈。

See the paypal ipn details on this page: https://www.paypal.com/ipn





相关问题
2. 提交多件物品,一劳永逸地与营地一起支付

我有一些销售物品,有2和3级的定制。 一旦安装了用户,就会增加我的现场车。 问题在于,如何把每一件物品送到检查时支付费用? 唯一发现的法典......

PHP - Paypal product timeout

I have finally got my paypal system working using IPN and a reservation system to ensure that two people do not buy the same product. The problem is, the reservations last for 10 mins on my ...

Paypal not picking up shipping?

this is strange, for some reason this paypal isn t picking up my shipping_1 value, yet I have done another form similar, and it goes through ok? I have no idea what s wrong with it.. <form target=&...

PayPal Website Payment Pro / Payflow Pro Difficulties

Okey, I m using PHP/SQL for my built web-cart. I also have the required paypal account (business) so I have an API authentication. I also made a sandbox account and got an API authentication there too....

How to link username in site to PayPal information email?

It s not a problem but i don t know how to do this; let s say that I have a sign up form with some fields: username, password, email, as you know the user clicks on the BUY BUTTON and pay s up. Well, ...

About paypal express checkout api

In this picture,there are 3 main steps:SetExpressCheckout,GetExpressCheckoutDetails and DoExpressCheckoutDetails,I m now sure SetExpressCheckout is to be called by myself,what about ...

Does HttpWebRequest send 200 OK automatically?

Background: I am implementing Paypal IPN handler. This great article on Paypal states that I am required to send a 200 OK back to Paypal after I read the response. The processing of IPN request is ...

热门标签