EzDevInfo.com

alipay

An unofficial alipay ruby gem

How to integrate Alipay with proper steps in iOS

I have gone through some questions like Alipay Integration

but none did help me to integrate alipay .Can anyone plz tell how to figure out this Integration in my iOS project.


Source: (StackOverflow)

Alipay notify url not being called

Alipay notify url not working i.e. is not being called. I am using aws linux server. No firewall issue because site is working form remote location also. I have checked apache access logs and found no log for notify url. I am using testing credential of Alipay. Here is an Alipay redirection link that might help you :

https://mapi.alipay.net/gateway.do?_input_charset=utf-8&currency=USD&notify_url=http://52.xx.xx.xx/payment/alipay/?task=alipay.notifyurl&out_trade_no=559a50fe904bb&partner=2088101122136241&return_url=http://52.xx.xx.xx/payment/alipay/?task=alipay.returnurl&service=create_forex_trade&sign=b7e6b53c64b3c18b0995038b67144d44&sign_type=MD5&subject=Package&total_fee=0.01

Source: (StackOverflow)

Advertisements

Alipay Integration

Does anybody know anything about Alipay payment service? Does alipay.com have an API (Like paypal or moneybookers)? Does anybody have documentation? I cannot find anything.

Thanks in advance.


Source: (StackOverflow)

iOS : Where to start for AliPay integration? [closed]

I've a requirement to integrate AliPay payment gateway into my app, I've dived into google sea but unfortunately there's no fish for my need.

From somewhere, I found this link, https://globalprod.alipay.com/order/integrationGuide.htm, but there's no integration steps for the iOS app.

Does anyone implemented this before? Any documentation out there? Anything?


Source: (StackOverflow)

Receiving request strings on the server-side for Alipay mobile payment

I'm not entirely sure how popular or whether this question will get any responses since this question is more related to Chinese developers than those developers outside of, however, I am currently working on integrating the server-side scripting for Alipay for receiving the mobile success request strings.

I have been successfully able to provide my mobile guys (through squinting my eyes in the horrid Alipay API) the strings necessary for them to make a payment to Alipay. It follows this format [identifiable information withheld]:

_input_charset=\"utf-8\"&body=\"Order Number: 20141121_80\"&it_b_pay=\"30m\"&notify_url=\"http://somePublicFacingIP:8080/index.php?route=payment/alipay/callback\"&out_trade_no=\"80\"&partner=\"2088611100000000\"&payment_type=\"1\"&seller_id=\"account@website.com\"&service=\"mobile.securitypay.pay\"&subject=\"Order Number: 20141121_80\"&total_fee=\"10.01\"

The above string gets consumed by the Android/iOS API in their Alipay payment classes, then signed by a private key, and then sent to Alipay. Upon Alipay receiving their request, they would verify our parameter string, and send back status codes ranging from 6000 - 9000.

We've so far received resultStatus=9000 in the string that gets returned to the mobile guys, which indicates a successful payment (and by checking Alipay's wallet history we do indeed see that we've made a payment)

result = {
    memo = "";
    result = "_input_charset=\"utf-8\"&body=\"\U4ea4\U6613\U53f7 20141124_80\"&it_b_pay=\"30m\"&notify_url=\"http://publicFacingIP:8080/index.php?route=payment/alipay/callback\"&out_trade_no=\"80\"&partner=\"208861100000000\"&payment_type=\"1\"&seller_id=\"account@website.com\"&service=\"mobile.securitypay.pay\"&subject=\"\U65b0\U5143\U7d20\U7f51\U4e0a\U70b9\U9910 - \U8ba2\U5355\U7f16\U53f7 20141124_87\"&total_fee=\"0.01\"&success=\"true\"&sign_type=\"RSA\"&sign=\"reallyLongSignedString\"";
    resultStatus = 9000;
}

Here's where everything stops working:

Alipay theoretically should be sending a result string (with more parameters than shown above) also to our notify_url which we specified in our input parameters which our server needs to verify is Alipay. This result string will also be used to update our back-end so that we know the order indeed has been successful.

For some reason, Alipay simply isn't sending the result string to our specified notify_url.

What I've tried:

  1. Put a var_dump() of the POST inputs to payment/alipay/callback. Didn't receive any requests.

  2. I've tried cURLing to my public facing IP URL's payment/alipay/callback and I know it's working because I am receiving requests, so that rules out whether or not my callback URL is functioning or not.

  3. Pulling my hair out. I tested making a payment again and I can confirm pulling my hair out did not solve the issue.

As the Chinese developers often say, are there any "大神" (or gurus) out there that could offer me some advice and/or a solution?


Source: (StackOverflow)

is there any Adaptive payments in alipay like paypal?

As subject says I want to know if Alipay's api allow you to have Adaptive Payments like paypal where two different recipients get the payment in their Alipay accounts?

Here is the discussion I found for paypal Paypal API - Can we transfer money to multiple accounts in a transaction?

What I want is a similar API system for Alipay if it exists

Thanks


Source: (StackOverflow)

How to Implement Alipay in PHP

I want to implement alipay for Shopping Website, for i am trying to get Sandbox account for development but its not working, anyone work with alipay in php, please help me.


Source: (StackOverflow)

Alipay and recurring payment

i trying to use Alipay. But i need create automatic recurring payment (ex. each 1 month). but i can't find this in Alipay documentation. Can anybody help me with link or some example? Looked for it in documentation, but didn't find anything. I use PHP, but if someone has examples on other languages, it will be better than nothing.


Source: (StackOverflow)

Adobe AIR app with ALIPAY

we are developing an application for adobe air with in-app purchase (of game add-ons).
we need to implement alipay inside the app.
I downloaded their documentations, it looks like there is no native extension for air.
i thought about using it with php + StageWebView (to show their UI for user paument) .
anyone here has an experience with Alipay + AS3?


Source: (StackOverflow)

Immutant2 server logs showing fishy error message

I got this error message a couple of times

21:36:01,172 ERROR [io.undertow.request] (default task-18) Undertow request failed HttpServerExchange{ CONNECT www.alipay.com:443}: java.lang.IllegalArgumentException: UT000068: Servlet path match failed

    at io.undertow.servlet.handlers.ServletPathMatchesData.getServletHandlerByPath(ServletPathMatchesData.java:83)
    at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:76)
    at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:121)
    at org.projectodd.wunderboss.wildfly.WildFlyWeb$1.handleRequest(WildFlyWeb.java:80)
    at io.undertow.server.session.SessionAttachmentHandler.handleRequest(SessionAttachmentHandler.java:68)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197)
    at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_80]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_80]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]

I believe Alipay is a chinese paymeny gateway. I am not using Alipay or any other payment gatweway currently. This is just a test application.

Any idea what is happening?


Source: (StackOverflow)