ShopeeProvider adalah adapter untuk Shopee Merchant / ShopeePay. Ia memakai alur OTP fetch-only: tidak butuh browser, Playwright, Puppeteer, atau dependency cookie eksternal.
Karakteristik
- OTP fetch-only: nomor telepon + password (bila akun dilindungi) menghasilkan OTP lewat WhatsApp, SMS, atau panggilan.
- Cookie jar murni: state autentikasi disimpan sebagai cookie yang dapat dipersist dan dipulihkan.
- Multi-merchant: satu akun dapat mengakses beberapa business merchant; ganti tanpa OTP baru.
- Multi-store: satu merchant dapat memiliki beberapa store; QRIS terikat ke store.
- Feed cursor: ShopeePay dipaginasi dengan
next_position. - QRIS manual: dashboard API tidak menyediakan QRIS statis; berikan manual dan ikat ke store.
Konstruksi
Halaman Shopee
Login OTP
requestOtp, verifyOtp, completeLogin, loginWithOtp.
Merchant dan store
Discovery dan ganti merchant/store.
Pembayaran
QRIS manual dan rekonsiliasi.
Sesi
Perbarui sesi tanpa OTP baru.
Device risk
Device report dan pengiriman OTP.