Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Commit 49359e1

Browse files
author
Josh Edwards
authored
Merge pull request #12 from joshredwards/master
Fixed bad endpoint for payment pages
2 parents 862fac2 + 0e05e1e commit 49359e1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/classes/SQID.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sqid-pay-wrapper",
3-
"version": "1.2.4",
3+
"version": "1.2.5",
44
"description": "A wrapper for sqid payment api",
55
"main": "dist/index.js",
66
"scripts": {

src/classes/SQID.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ export class SQID {
108108
*/
109109
payPaymentPage = (data) => {
110110
const primaryKey = data.payPageId.toUpperCase()
111-
return this._sqidRequest(data, 'POST', 'paypage/get', null, primaryKey)
111+
return this._sqidRequest(data, 'POST', 'paypage/pay', null, primaryKey)
112112
}
113113
}

0 commit comments

Comments
 (0)