Skip to main content

Api Integration Demo

smilepayz teamsAbout 1 min

GitHub

Java

If your programming language is Java.

https://github.com/smilepayz/Smilepayz-SDK-Java-V2open in new window

  • PayInRequestDemo.java for pay in request
  • PayoutRequestDemo.java for pay out request
  • InquiryBalanceDemo.java for balance inquiry
  • InquriyOrderStatusDemo.java for order status inquiry
  • SignatureUtils.java Provide minify(body) method, sha256RsaSignature method and checkSha256RsaSignature.

Python

If your programming language is Python.

https://github.com/smilepayz/SmilePayz-SDK-Pythonopen in new window

  • pay_in_request_demo.py for pay in request .
  • pay_out_request_demo.py for pay out request.
  • balance_inquiry.py for balance inquiry.
  • status-inquiry.py for order status inquiry.
  • Tool_Sign.py Provide minify(body) method, sha256RsaSignature method and checkSha256RsaSignature.

Node.js

If your programming language is Node.js.

https://github.com/SmilePayz/SmilePayz-SDK-Node.jsopen in new window

  • pay_in_request_demo.js
  • pay_out_request_deom.js
  • inquiry_balance_demo.js
  • inquiry_order_status.js
  • SignatureUtils.js Provide minify(body) method, sha256RsaSignature method and checkSha256RsaSignature.

Php8

If your programming language is Php. Php8.

https://github.com/SmilePayz/SmilePayz-SDK-Phpopen in new window

  • PayInRequestDemo.php:
  • PayoutRequestDemo.php:
  • InquiryBalanceDemo.php:
  • InquiryOrderStatusDemo.php:
  • Signature.php: Provide minify(body) method, sha256RsaSignature method and checkSha256RsaSignature.

C#

If your programming language is C#.

https://github.com/smilepayz/SmilePayz-SDK-CSopen in new window

  • PayInRequestDemo.cs
  • PayOutRequestDemo.cs:
  • BalanceInquiryDemo.cs:
  • OrderStatusInquiryDemo.cs:
  • SignatureUtils.cs: Provide minify(body) method, sha256RsaSignature method and checkSha256RsaSignature.

Golang

If your programming language is Go.

https://github.com/smilepayz/SmilePayz-SDK-Golangopen in new window

  • /v2/PayInRequestDemoV2.go
  • /v2/PayoutRequestDemov2.go:
  • /v2/BalanceInquiryDemoV2.go:
  • /v2/OrderStatusInquiryDemoV2.go:
  • /common/SignatureUtils.go: Provide minify(body) method, sha256RsaSignature method and checkSha256RsaSignature.

Other

Info

If you need Demo for other languages, please let us know and we can provide them as soon as possible.

Woocommerce

Woocommerce Plugin

The current document version is above 1.0.5 (including 1.0.5). Please download 1.0.5 and install it before payment

Install

  • After finding the plugin in the results, click Install Now. ...
  • To use the plugin, you'll need to activate it. ...
  • Click Upload Plugin at the top of the page.
  • Click Choose File, locate the plugin . ...
  • After the installation is complete, click Activate Plugin.

Configuration

  • Step.1 -Configuration MerchantID. MerchantSecret...
    An image
  • Step.2 -Enable payment list.
    An image