https://github.com/rimiti/payline-example
Payline example
https://github.com/rimiti/payline-example
example payline snippet soap xml
Last synced: 2 months ago
JSON representation
Payline example
- Host: GitHub
- URL: https://github.com/rimiti/payline-example
- Owner: rimiti
- Created: 2019-09-27T15:14:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T03:53:38.000Z (about 3 years ago)
- Last Synced: 2024-12-28T19:42:48.799Z (about 1 year 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"
}
```