AutoPayz logoAutoPayz SMS

AutoPayz SMS অ্যাপের প্রিভিউ

2:15●●● 87%
AutoPayz logo

Welcome to AutoPayz SMS

Seamlessly sync your payment notifications to your merchant dashboard in real-time.

By continuing, you agree to our Terms & Privacy Policy

পুরো সিস্টেম কীভাবে কাজ করবে

১. মার্চেন্ট

AutoPayz.online-এ অ্যাকাউন্ট খোলে, Brand বানিয়ে API Key নেয়, Wallet নম্বর যোগ করে, Device বানিয়ে Device Key নেয়।

২. অ্যাপ

ফোনে AutoPayz SMS খুলে Device Key দিয়ে কানেক্ট করে। এরপর অ্যাপ ২৪ ঘণ্টা SMS শুনতে থাকে।

৩. কাস্টমার

মার্চেন্টের ওয়েবসাইট বা Telegram বট থেকে Checkout পেজে আসে, টাকা পাঠিয়ে TrxID দেয়।

৪. অ্যাপ → সার্ভার

bKash/Nagad/Rocket/Upay থেকে SMS এলেই অ্যাপ সেটা সার্ভারে পাঠায়।

৫. সার্ভার (AI)

AI SMS থেকে টাকার পরিমাণ, TrxID আর নম্বর বের করে, কাস্টমারের দেওয়া TrxID-এর সাথে মেলায়।

৬. ফলাফল

মিলে গেলে পেমেন্ট Paid হয়, মার্চেন্টের Webhook-এ খবর যায়, কাস্টমার সফল পেজে চলে যায়।

অ্যাপ বানানোর পুরো প্রম্পট

Build a complete Android app in Kotlin (Jetpack Compose, minSdk 24) named "AutoPayz SMS".

PURPOSE
The app runs on the merchant's phone, reads incoming payment SMS from bKash, Nagad, Rocket and Upay, and forwards them to the AutoPayz server so payments are verified automatically.

BRANDING AND LANGUAGES
- Use the supplied AP logo: purple A and white P on black. Use it on Login, Home and as the app icon; do not replace it with a generic letter A.
- Support English (en) and Bangla (bn). English is the default on first launch, regardless of the phone language.
- Provide a language selector on Login and Settings. Switching language updates every app screen immediately; remember the selection across restarts using DataStore.
- Put all user-facing strings, validation errors, permission explanations, statuses, bottom navigation, notifications and accessibility labels in Android string resources for both languages. Never translate brand names, wallet names, device keys or transaction IDs.

SCREENS
Match the supplied APK layout with a dark slate glass style: deep navy background with soft purple glow, translucent frosted cards, purple-indigo action buttons, green Active/LIVE badges, neutral gray surfaces, soft blue secondary icons and amber permission warnings. Keep the supplied AutoPayz logo unchanged.
On first launch show a Welcome screen (logo, "Welcome to AutoPayz SMS", subtitle, GET STARTED, Terms & Privacy Policy), then an "SMS Permission Required" disclosure (Targeted Tracking, Guaranteed Privacy, Total Control, Full Transparency, Secure Transmission, agreement checkbox, GRANT PERMISSION, "100% Secure & Transparent"); then show a permission screen asking for SMS, Notification, Battery saver off and Autostart; the user must allow all four to continue, and these permissions never appear again inside the app. After that use a single scrollable screen: centered 110dp logo, app name and subtitle. Disconnected state: Device Key input, Paste and Active buttons. Connected state: Active/LIVE, device name, Sent today, Last SMS, Send SMS, Test and Logout. No menu and no bottom navigation.
Keep the SMS forwarding requirements below with this layout.

FUNCTIONALITY
- Request RECEIVE_SMS, READ_SMS, POST_NOTIFICATIONS, INTERNET, RECEIVE_BOOT_COMPLETED, FOREGROUND_SERVICE permissions.
- BroadcastReceiver for SMS_RECEIVED. Only accept senders: "bKash", "NAGAD", "16216" (Rocket), "upay" (case-insensitive).
- For each matching SMS, send POST https://autopayz.online/api/sms
  Headers: Device-Key: <key>, Content-Type: application/json
  Body: {"sender":"...","message":"full sms text","received_at":"ISO time"}
- Use WorkManager for sending, with retry + exponential backoff when offline.
- Foreground service with persistent notification "AutoPayz SMS is running".
- Start automatically after phone reboot.
- Button to open battery optimization settings.

OUTPUT
Give the full project: build.gradle files, AndroidManifest.xml and every Kotlin file with its exact path, then step-by-step instructions to build the APK in Android Studio.