Comments (2)
CreateRefundToBalanceInitRequest.js dosyasında require edilirken var tanımlaması yaparken, util module'ünden sonra virgül kullanılmış ancak orası noktalı virgül olmalı ki function declaration hata vermesin. Şu anda bu haldeyken bu function çalışmıyor ve
] function CreateRefundToBalanceInitRequest(request) {
[0] ^^^^^^^^
[0]
[0] SyntaxError: Unexpected token 'function'
[0] at Object.compileFunction (node:vm:352:18)
[0] at wrapSafe (node:internal/modules/cjs/loader:1032:15)
[0] at Module._compile (node:internal/modules/cjs/loader:1067:27)
[0] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
[0] at Module.load (node:internal/modules/cjs/loader:981:32)
[0] at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[0] at Module.require (node:internal/modules/cjs/loader:1005:19)
[0] at require (node:internal/modules/cjs/helpers:102:18)
[0] at RefundToBalance.IyzipayResource._getPkiString (/Users/hasan/Documents/GitHub/api.payment.rexven/apiserver/node_modules/iyzipay/lib/IyzipayResource.js:97:28)
[0] at RefundToBalance.IyzipayResource._getHttpHeaders (/Users/user/Documents/GitHub/project/node_modules/iyzipay/lib/IyzipayResource.js:40:18)
hatası veriyor.
'use strict';
var BaseRequest = require('./BaseRequest'),
util = require('util'),
function CreateRefundToBalanceInitRequest(request) {
BaseRequest.call(this, {
locale: request['locale'],
conversationId: request['conversationId'],
paymentId: request['paymentId'],
callbackUrl: request['callbackUrl'],
});
}
util.inherits(CreateRefundToBalanceInitRequest, BaseRequest);
module.exports = CreateRefundToBalanceInitRequest;
Olması gereken tek şey util import'undan sonraki virgülün kaldırılması. Bunla alakalı düzeltmeyi yaparsanız sevinirim
from iyzipay-node.
Değişiklik yapılmıştır.
from iyzipay-node.
Related Issues (20)
- AWS de path hatası HOT 4
- iyzipay.payment.create(request) sırasında errorcode: 1000, "Geçersiz imza" hatası HOT 1
- Module not found: Error: Can't resolve 'fs' in 'C:\Users\algan\OneDrive\Masaüstü\abc\theProject\React\react\node_modules\iyzipay\lib' HOT 6
- Nextjs "Uncaught TypeError: fs.readdirSync is not a function" hatası. HOT 6
- request gelmiyor
- serverless-bundle cannot figure iyzico HOT 1
- React Native ile WebView üzerinde açılmama sorunu. HOT 1
- Edge runtime desteği: Can't resolve 'fs'
- Iyzipay Next.js Entegrasyonu: Sorunlar ve Çözüm Önerileri
- Depreciation Warnings, and Vulnerabilities HOT 1
- TypeScript? HOT 3
- TypeScript Declaration Dosya Desteği Ekleme Önerisi - PR Review İsteği
- Missing package-lock.json
- Vulnerable Coveralls dependency
- Release step should depends on a tag creation
- Authorization Header içeriğinin oluşturulması
- Subscription Product Create [errorCode: '100001'] HOT 1
- errorMessage: 'Authorization header string gönderilmesi zorunludur' HOT 4
- Alternative TypeScript SDK HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iyzipay-node.