# Command to buy new SIM

**URL:** <https://hub.soprani.ca/t/command-to-buy-new-sim/142>\
**Category:** Issues\
**Tags:** implemented, sgx-jmp\
**Created:** [November 4, 2022, 3:00am UTC](https://hub.soprani.ca/t/command-to-buy-new-sim/142 "2022-11-04T03:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [November 4, 2022, 3:00am UTC](https://hub.soprani.ca/t/command-to-buy-new-sim/142/1 "2022-11-04T03:00:00Z")

</div>

Maybe a sub-action on the sims command, or maybe a new command.

For esim we bill you and show QR code. For physical sim either stock levels or infinite wait list. If they don’t have enough balance could do direct billing here instead of forcing them to manual top up.

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [May 3, 2023, 8:43pm UTC](https://hub.soprani.ca/t/command-to-buy-new-sim/142/2 "2023-05-03T20:43:40Z")

</div>

“bill you and show QR code” isn’t so useful in the mobile app… we could maybe just have users copy the LPA code into clipboard then provide instructions to head over to esim manager to paste it in… [https://stackoverflow.com/questions/73126721/android-esim-activation-flow](https://stackoverflow.com/questions/73126721/android-esim-activation-flow)

or maybe something with android.telephony.euicc.action.START\_EUICC\_ACTIVATION ?  
[https://source.android.com/docs/core/connect/esim-overview#activation-code](https://source.android.com/docs/core/connect/esim-overview#activation-code)

[https://medium.com/@kishanvaghela/activate-esim-using-ipa-7d7c133759f5](https://medium.com/@kishanvaghela/activate-esim-using-ipa-7d7c133759f5)

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [May 9, 2023, 7:09pm UTC](https://hub.soprani.ca/t/command-to-buy-new-sim/142/3 "2023-05-09T19:09:09Z")

</div>

[https://paste.sr.ht/~singpolyma/941080f294987ce627d4d4da6384e5c65bf0c2d6](https://paste.sr.ht/~singpolyma/941080f294987ce627d4d4da6384e5c65bf0c2d6)  
[https://issuetracker.google.com/issues/265178194](https://issuetracker.google.com/issues/265178194)

So, can’t do better than copy paste without some google approval or else openeuicc. Apparently samsung’s lpa allows it.
