Download the PHP package paypayopa/php-sdk without Composer

On this page you can find all versions of the php package paypayopa/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-sdk

Paypay SDK - PHP

License Packagist Version Build Status Coverage Status Maintainability Black Duck Security Risk FOSSA Status Quality Gate Status Packagist Downloads Codacy Badge BCH compliance

PHP Class for interacting with the Paypay API This is the quickest way to integrate PayPay payment services, primarily meant for merchants who wish to perform interactions with the Paypay API programatically. With PayPay's OPA SDK, you can build a custom payment checkout process to suit your unique business needs and branding guidelines.

Integrating with PayPay's Open Payment API (OPA)

Prerequisites

Before integrating with the SDK, run through this checklist:

Minimum required software requirements

To use the Paypay OPA PHP SDK you need:

HMAC Signature Verification

Signature verification is a mandatory step to ensure that the callback is sent by PayPay and the payment is received from an authentic source.

Generate a Signature

The PayPay signature, returned to you on successful payment, can be generated by your system and verified as follows:

For the complete step-by-step explanation refer the link here

Composer

To install the bindings via Composer, run the following command in your shell :

Getting Started

You need to setup your key and secret using the following:

[Note:] Setter chaining in request payload classes

In the examples below methods are written one after the other for the sake of your understanding. However you can save a few keystrokes by chaining multiple setter functions like so:

Dynamic QR Code

Create a dynamic QR Code to receive payments.

For a list of params refer to the API guide :
https://www.paypay.ne.jp/opa/doc/v1.0/dynamicqrcode#operation/createQRCode

Delete a particular Dynamic QR Code

Fetch a particular QR CODE payment detail

Cancel a payment

Get User Authorization URL

Decode user authorization from token

The PayPay authorization system will redirect user back to your site with a JWT token in the responseToken URL parameter.

Capture payment details

For a list of params refer to the API guide :
https://www.paypay.ne.jp/opa/doc/v1.0/dynamicqrcode#operation/capturePaymentAuth

Fetch a particular Direct Debit payment detail

Revert payment

For a list of params refer to the API guide :
https://www.paypay.ne.jp/opa/doc/v1.0/dynamicqrcode#operation/revertAuth

Refund payment

For a list of params refer to the API guide :
https://www.paypay.ne.jp/opa/doc/v1.0/dynamicqrcode#operation/refundPayment

Fetch refund status and details

For a list of params refer to the API guide :
https://www.paypay.ne.jp/opa/doc/v1.0/dynamicqrcode#operation/getRefundDetails

License

FOSSA Status


All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
ext-json Version *
firebase/php-jwt Version ^5.5 || ^6.0
guzzlehttp/guzzle Version ^6.0 || ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package paypayopa/php-sdk contains the following files

Loading the files please wait ....