Frequently asked questionsမေးလေ့ရှိသော မေးခွန်းများ

Does DOEH host my broker?

DOEH က ကျွန်ုပ်၏ broker ကို host လုပ်ပေးသလား?

No. DOEH provides APIs, SDKs, Starter Kits, and a reference broker implementation. Merchants deploy and operate their own production broker — on your own VPS or server, under systemd / PM2 / Node / Bun (Docker optional). DOEH does not provide managed broker hosting.

မလုပ်ပါ။ DOEH က API၊ SDK၊ Starter Kit နှင့် reference broker implementation ကို ပေးသည်။ Merchant များက ၎င်းတို့၏ ကိုယ်ပိုင် production broker ကို deploy လုပ်၍ လည်ပတ်သည် — ကိုယ်ပိုင် VPS သို့မဟုတ် server ပေါ်တွင် systemd / PM2 / Node / Bun (Docker optional) အောက်တွင်။ DOEH သည် managed broker hosting မပေးပါ။

Do I need a broker?

broker လိုအပ်သလား?

EnvironmentBroker
SandboxNo — a sk_test_… key talks to DOEH directly
ProductionYes — until publishable keys ship (see below)
EnvironmentBroker
Sandboxမလို — sk_test_… key က DOEH နှင့် တိုက်ရိုက် ဆက်သွယ်သည်
Productionလို — publishable key များ မထွက်မချင်း (အောက်တွင် ကြည့်ပါ)

A live sk_live_… key must never ship inside a mobile app bundle. The broker holds it server-side and hands the app only short-lived tokens.

live sk_live_… key ကို mobile app bundle ထဲတွင် ဘယ်တော့မှ မထည့်ရ။ broker က ၎င်းကို server ဘက်တွင် ထိန်းသိမ်းပြီး app သို့ သက်တမ်းတိုသော token များကိုသာ ပေးသည်။

Will the broker go away in the future?

အနာဂတ်တွင် broker ပျောက်သွားမည်လား?

Possibly. A planned publishable-key capability would let production apps authenticate without a merchant-hosted broker (a device-safe key + edge exchange). Until then, the merchant-run broker is the recommended production approach. The Starter Kit already isolates auth behind a provider seam, so that future migration is a config change, not a rewrite.

ဖြစ်နိုင်သည်။ စီစဉ်ထားသော publishable-key စွမ်းဆောင်ရည်က production app များကို merchant-host broker မပါဘဲ authenticate လုပ်နိုင်စေမည် (device-safe key + edge exchange)။ ထိုအချိန်အထိ merchant လည်ပတ်သော broker သည် အကြံပြုထားသော production နည်းလမ်း ဖြစ်သည်။ Starter Kit သည် auth ကို provider seam နောက်တွင် သီးခြားခွဲထားပြီးဖြစ်၍ ထို ကူးပြောင်းမှုသည် rewrite မဟုတ်ဘဲ config ပြောင်းရုံသာ ဖြစ်သည်။

How do I get a sandbox key?

sandbox key ကို ဘယ်လို ရယူမလဲ?

A shop owner signs in to the portal and mints a sk_test_… key (environment: test). Paste it into the Starter Kit and run pnpm smoke:sandbox. See the Sandbox guide.

ဆိုင်ပိုင်ရှင်က portal သို့ sign in ဝင်ပြီး sk_test_… key (environment: test) တစ်ခု ထုတ်သည်။ ၎င်းကို Starter Kit ထဲ ကူးထည့်၍ pnpm smoke:sandbox ကို run ပါ။ Sandbox guide ကို ကြည့်ပါ။