Introduction

Alipay is a popular payment provider. Once integrated, it lets you accept mobile and online payments from buyers worldwide.

Integration

The integration with the Nemesis platform is pretty straight-forward. Upon adding the module in the classpath,

<dependency>
    <groupId>io.nemesis.platform.module.payment</groupId>
    <artifactId>nemesis-module-alipay</artifactId>
</dependency>

you will have access to several new properties you can use to customize its behaviour. All of them are located under the nemesis.payments.alipay domain.

gatewayUrl - the gateway url for alipay partner - the merchant id privateKey - the private RSA key alipayPublicKey - the public RSA key returnUrl - the return url after successful payment is complete referUrl - the url of the merchant site; timeoutRule - the time after which if a payment is still not completed its canceled

Please consult the Alipay documentation on what they mean and how to use them.