Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rimiti/payline-example
Payline example
https://github.com/rimiti/payline-example
example payline snippet soap xml
Last synced: about 5 hours ago
JSON representation
Payline example
- Host: GitHub
- URL: https://github.com/rimiti/payline-example
- Owner: rimiti
- Created: 2019-09-27T15:14:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T03:53:38.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T13:28:52.857Z (6 months ago)
- Topics: example, payline, snippet, soap, xml
- Language: JavaScript
- Size: 43.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# payline-example
## Install
```
$ yarn
```## How to run this snippet
```
$ PAYLINE_CONTRACT=XXXXX PAYLINE_USERNAME=XXXXX" PAYLINE_PASSWORD=XXXXX node index.js
```Output:
```
{
"result": {
"code": "00000",
"shortMessage": "ACCEPTED",
"longMessage": "Transaction approved"
},
"token": "1D0wc20Fm0d6hSldR3901856666495914",
"redirectURL": "https://homologation-webpayment.payline.com/v2/?token=1D0wc20Fm0d6hSldR3901856666495914"
}
```