Comments (6)
Sadece server-side işlemlerinizi yaparken kullanabilirsiniz. Next 13 kullanmıyorsanız getServerSideProps
içinde kullanmaya dikkat edin. Frontend kısmında çağırdığınız kodu da atarsanız daha kolay yardımcı olurum.
from iyzipay-node.
Selamlar, bahsettiğiniz şekilde o problemden kurtuldum fakat farklı bir sorunla karşılaştım.
kodlarım bu şekilde.
şuan aldığım hata ise burada.
from iyzipay-node.
Next ile alakalı bir sıkıntınız olduğunu düşünmüyorum fakat Iyzipay'i 2 kere importlamışsınız biri ES biri CommonJS importu oradan sıkıntı çıkıyor olabilir.
from iyzipay-node.
es importunu kaldırdım hala Izyipaydan türettiğim izyipay değeri tanımlanmamış görünüyor,
sayfamın en altında export async function getServerSideProps ile çalıştırdığımda bir sorun yok ama ben satın al sayfamdaki butonla tetikleyebilmek istiyorum ve bunu bu şekilde yapamadım.
bana bu konuda yardımcı olabilir misin? sayfamdaki butona bastığımda alışveriş bilgileri ile birlikte bu fonksiyonu nasıl çalıştırabilirim?
from iyzipay-node.
Merhabalr. Size önerim nextin api ozelligini kullanmaniz. O şekilde daha sağlıklı olacaktir.
from iyzipay-node.
teşekkür ederim, iyzico entegrasyonunu daha sonraya bıraktım. tekrar döndüğümde tavsiyenize uyacağım. Bir sorun yaşayana kadar başlığı kapatıyorum.
from iyzipay-node.
Related Issues (20)
- React JS Kullanımı HOT 3
- 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
- request gelmiyor
- serverless-bundle cannot figure iyzico HOT 1
- refundToBalance Syntax Hatası HOT 2
- 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
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.