Skip to content

Commit

Permalink
Merge pull request #52 from alitnk/chore/zarinpal-reference-id
Browse files Browse the repository at this point in the history
  • Loading branch information
alitnk authored Sep 16, 2023
2 parents 8b3bdfd + f4aea40 commit bdf917a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '16.x'
- name: Test Build
run: |
if [ -e yarn.lock ]; then
Expand All @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '16.x'
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
Expand Down
1 change: 0 additions & 1 deletion snippets/usage/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const driver = getPaymentDriver("zarinpal", {
const receipt = await driver.verifyPayment(
{
amount: 5000,
referenceId: 1234,
},
{ ...request.params, ...request.body }
);
1 change: 0 additions & 1 deletion snippets/usage/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const driver = getPaymentDriver<Zarinpal>("zarinpal", {
const receipt = await driver.verifyPayment(
{
amount: 5000,
referenceId: 1234,
},
{ ...request.params, ...request.body }
);

0 comments on commit bdf917a

Please sign in to comment.