Skip to content

Remove UPI payment method support#12871

Merged
toluo-stripe merged 5 commits into
masterfrom
tolu/run/delete_upi
Apr 17, 2026
Merged

Remove UPI payment method support#12871
toluo-stripe merged 5 commits into
masterfrom
tolu/run/delete_upi

Conversation

@toluo-stripe

@toluo-stripe toluo-stripe commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove UPI payment method support

Motivation

https://jira.corp.stripe.com/browse/RUN_MOBILESDK-5308

Testing

  • Added tests
  • Modified tests
  • Manually verified

Changelog

@github-actions

github-actions Bot commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

Diffuse output:

OLD: paymentsheet-example-release-master.apk (signature: V1, V2)
NEW: paymentsheet-example-release-pr.apk (signature: V1, V2)

          │              compressed              │           uncompressed            
          ├─────────────┬─────────────┬──────────┼───────────┬───────────┬───────────
 APK      │ old         │ new         │ diff     │ old       │ new       │ diff      
──────────┼─────────────┼─────────────┼──────────┼───────────┼───────────┼───────────
      dex │     4.5 MiB │     4.5 MiB │ -1.9 KiB │   9.7 MiB │   9.7 MiB │  -4.5 KiB 
     arsc │     3.6 MiB │     3.6 MiB │ -7.4 KiB │   3.6 MiB │   3.6 MiB │  -7.4 KiB 
 manifest │     5.8 KiB │     5.8 KiB │      0 B │  30.8 KiB │  30.8 KiB │       0 B 
      res │ 1,004.7 KiB │ 1,004.2 KiB │   -457 B │   1.6 MiB │   1.6 MiB │    -720 B 
   native │     2.7 MiB │     2.7 MiB │      0 B │   2.7 MiB │   2.7 MiB │       0 B 
    asset │      25 KiB │      25 KiB │     +3 B │  45.8 KiB │  45.8 KiB │      +3 B 
    other │   244.2 KiB │   244.2 KiB │    -51 B │ 502.5 KiB │ 502.4 KiB │    -164 B 
──────────┼─────────────┼─────────────┼──────────┼───────────┼───────────┼───────────
    total │    12.1 MiB │    12.1 MiB │ -9.8 KiB │  18.2 MiB │  18.2 MiB │ -12.7 KiB 

 DEX     │ old   │ new   │ diff              
─────────┼───────┼───────┼───────────────────
   files │     1 │     1 │   0               
 strings │ 45123 │ 45106 │ -17 (+65 -82)     
   types │ 14231 │ 14223 │  -8 (+61 -69)     
 classes │ 11562 │ 11557 │  -5 (+5 -10)      
 methods │ 63217 │ 63174 │ -43 (+2270 -2313) 
  fields │ 40887 │ 40867 │ -20 (+1781 -1801) 

 ARSC    │ old  │ new  │ diff       
─────────┼──────┼──────┼────────────
 configs │  319 │  319 │  0         
 entries │ 7425 │ 7421 │ -4 (+0 -4)
APK
     compressed      │     uncompressed      │                                           
──────────┬──────────┼───────────┬───────────┤                                           
 size     │ diff     │ size      │ diff      │ path                                      
──────────┼──────────┼───────────┼───────────┼───────────────────────────────────────────
  3.6 MiB │ -7.4 KiB │   3.6 MiB │  -7.4 KiB │ ∆ resources.arsc                          
  4.5 MiB │ -1.9 KiB │   9.7 MiB │  -4.5 KiB │ ∆ classes.dex                             
          │   -459 B │           │    -720 B │ - res/a4.xml                              
   55 KiB │    -29 B │ 129.2 KiB │     -82 B │ ∆ META-INF/MANIFEST.MF                    
 58.2 KiB │    -23 B │ 129.3 KiB │     -82 B │ ∆ META-INF/CERT.SF                        
  1.2 KiB │     +4 B │     1 KiB │      +4 B │ ∆ assets/dexopt/baseline.profm            
    272 B │     +1 B │     120 B │       0 B │ ∆ META-INF/version-control-info.textproto 
  8.9 KiB │     -1 B │   8.8 KiB │      -1 B │ ∆ assets/dexopt/baseline.prof             
    856 B │     +1 B │   1.8 KiB │       0 B │ ∆ res/8Q.xml                              
    710 B │     +1 B │   1.3 KiB │       0 B │ ∆ res/UK.xml                              
──────────┼──────────┼───────────┼───────────┼───────────────────────────────────────────
  8.3 MiB │ -9.8 KiB │  13.6 MiB │ -12.7 KiB │ (total)
DEX
STRINGS:

   old   │ new   │ diff          
  ───────┼───────┼───────────────
   45123 │ 45106 │ -17 (+65 -82) 
  
  + Ldm/n5;
  + Lvi/f;
  + Lxh/j;
  + Lz/a2;
  + Lzh/o0;
  + VLLZLLLLLLLLLLLLLLZL
  + VLZLLLLLLLLLLLLLLLLLLL
  + [Ldm/a2;
  + [Ldm/e4;
  + [Ldm/p2;
  + [Ldm/t1;
  + [Ldm/w3;
  + [Ldm/x1;
  + [Ldm/z3;
  + [Lul/a3;
  + [Lul/c2;
  + [Lul/d1;
  + [Lul/d3;
  + [Lul/d4;
  + [Lul/g1;
  + [Lul/g4;
  + [Lul/h0;
  + [Lul/i2;
  + [Lul/j3;
  + [Lul/k0;
  + [Lul/m2;
  + [Lul/m4;
  + [Lul/n3;
  + [Lul/o3;
  + [Lul/q4;
  + [Lul/s3;
  + [Lul/t1;
  + [Lul/u4;
  + [Lul/v2;
  + [Lul/w1;
  + [Lul/w3;
  + [Lul/x3;
  + [Lul/z1;
  + [Lvh/aa;
  + [Lvh/c8;
  + [Lvh/ga;
  + [Lvh/h8;
  + [Lvh/ha;
  + [Lvh/ia;
  + [Lvh/k7;
  + [Lvh/m7;
  + [Lvh/ma;
  + [Lvh/o8;
  + [Lvh/p6;
  + [Lvh/u9;
  + [Lvh/y7;
  + [Lvh/z8;
  + [Lvi/d;
  + [Lxc/a0;
  + [Lxc/f0;
  + [Lxc/h0;
  + [Lxh/i;
  + [Lzc/d;
  + [Lzc/g;
  + [Lzh/d0;
  + [Lzh/m0;
  + [Lzh/q;
  + [Lzh/z;
  + r8-map-id-b9f3a21755ccdedf8bcab858632d30aad245c77b9447de299ae44caac773d17e
  + ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":23,"pg-map-id":"b9f3a21755ccdedf8bcab858632d30aad245c77b9447de299ae44caac773d17e","r8-mode":"full","version":"8.13.19"}
  
  - , upi=
  - Lth/w0;
  - Lul/x4;
  - Lul/y4;
  - Lvh/na;
  - Lvh/oa;
  - Lvh/pa;
  - Lvh/qa;
  - Lxc/q0;
  - Ly0/t0;
  - Lzc/k;
  - Upi
  - Upi(vpa=
  - UpiAwaitNotification
  - VLLZLLLLLLLLLLLLLLLZL
  - VLZLLLLLLLLLLLLLLLLLLLL
  - [Ldm/d4;
  - [Ldm/n2;
  - [Ldm/s1;
  - [Ldm/v1;
  - [Ldm/v3;
  - [Ldm/y3;
  - [Ldm/z1;
  - [Lul/b2;
  - [Lul/c3;
  - [Lul/f1;
  - [Lul/f3;
  - [Lul/f4;
  - [Lul/g2;
  - [Lul/i1;
  - [Lul/i4;
  - [Lul/j0;
  - [Lul/k2;
  - [Lul/l3;
  - [Lul/m0;
  - [Lul/o2;
  - [Lul/o4;
  - [Lul/p3;
  - [Lul/q3;
  - [Lul/s4;
  - [Lul/u3;
  - [Lul/v1;
  - [Lul/y1;
  - [Lul/y3;
  - [Lul/y4;
  - [Lul/z2;
  - [Lul/z3;
  - [Lvh/a8;
  - [Lvh/ca;
  - [Lvh/da;
  - [Lvh/ea;
  - [Lvh/f8;
  - [Lvh/j7;
  - [Lvh/l7;
  - [Lvh/m8;
  - [Lvh/na;
  - [Lvh/o6;
  - [Lvh/oa;
  - [Lvh/pa;
  - [Lvh/qa;
  - [Lvh/s9;
  - [Lvh/w7;
  - [Lvh/y8;
  - [Lvh/y9;
  - [Lvi/b;
  - [Lxc/c0;
  - [Lxc/g0;
  - [Lxc/i0;
  - [Lxh/a;
  - [Lzc/f;
  - [Lzc/h;
  - [Lzh/c0;
  - [Lzh/l0;
  - [Lzh/n;
  - [Lzh/y;
  - [a-zA-Z0-9.\-_]{2,256}@[a-zA-Z]{2,64}
  - r8-map-id-92cefc81b03f79faa0844b19557d95ae64ac7940ea5de0bc98b68a44291c95ad
  - upi
  - upi[vpa]
  - upi_await_notification
  - vpa
  - ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":23,"pg-map-id":"92cefc81b03f79faa0844b19557d95ae64ac7940ea5de0bc98b68a44291c95ad","r8-mode":"full","version":"8.13.19"}
  

TYPES:

   old   │ new   │ diff         
  ───────┼───────┼──────────────
   14231 │ 14223 │ -8 (+61 -69) 
  
  + Ldm/n5;
  + Lvi/f;
  + Lxh/j;
  + Lz/a2;
  + Lzh/o0;
  + [Ldm/a2;
  + [Ldm/e4;
  + [Ldm/p2;
  + [Ldm/t1;
  + [Ldm/w3;
  + [Ldm/x1;
  + [Ldm/z3;
  + [Lul/a3;
  + [Lul/c2;
  + [Lul/d1;
  + [Lul/d3;
  + [Lul/d4;
  + [Lul/g1;
  + [Lul/g4;
  + [Lul/h0;
  + [Lul/i2;
  + [Lul/j3;
  + [Lul/k0;
  + [Lul/m2;
  + [Lul/m4;
  + [Lul/n3;
  + [Lul/o3;
  + [Lul/q4;
  + [Lul/s3;
  + [Lul/t1;
  + [Lul/u4;
  + [Lul/v2;
  + [Lul/w1;
  + [Lul/w3;
  + [Lul/x3;
  + [Lul/z1;
  + [Lvh/aa;
  + [Lvh/c8;
  + [Lvh/ga;
  + [Lvh/h8;
  + [Lvh/ha;
  + [Lvh/ia;
  + [Lvh/k7;
  + [Lvh/m7;
  + [Lvh/ma;
  + [Lvh/o8;
  + [Lvh/p6;
  + [Lvh/u9;
  + [Lvh/y7;
  + [Lvh/z8;
  + [Lvi/d;
  + [Lxc/a0;
  + [Lxc/f0;
  + [Lxc/h0;
  + [Lxh/i;
  + [Lzc/d;
  + [Lzc/g;
  + [Lzh/d0;
  + [Lzh/m0;
  + [Lzh/q;
  + [Lzh/z;
  
  - Lth/w0;
  - Lul/x4;
  - Lul/y4;
  - Lvh/na;
  - Lvh/oa;
  - Lvh/pa;
  - Lvh/qa;
  - Lxc/q0;
  - Ly0/t0;
  - Lzc/k;
  - [Ldm/d4;
  - [Ldm/n2;
  - [Ldm/s1;
  - [Ldm/v1;
  - [Ldm/v3;
  - [Ldm/y3;
  - [Ldm/z1;
  - [Lul/b2;
  - [Lul/c3;
  - [Lul/f1;
  - [Lul/f3;
  - [Lul/f4;
  - [Lul/g2;
  - [Lul/i1;
  - [Lul/i4;
  - [Lul/j0;
  - [Lul/k2;
  - [Lul/l3;
  - [Lul/m0;
  - [Lul/o2;
  - [Lul/o4;
  - [Lul/p3;
  - [Lul/q3;
  - [Lul/s4;
  - [Lul/u3;
  - [Lul/v1;
  - [Lul/y1;
  - [Lul/y3;
  - [Lul/y4;
  - [Lul/z2;
  - [Lul/z3;
  - [Lvh/a8;
  - [Lvh/ca;
  - [Lvh/da;
  - [Lvh/ea;
  - [Lvh/f8;
  - [Lvh/j7;
  - [Lvh/l7;
  - [Lvh/m8;
  - [Lvh/na;
  - [Lvh/o6;
  - [Lvh/oa;
  - [Lvh/pa;
  - [Lvh/qa;
  - [Lvh/s9;
  - [Lvh/w7;
  - [Lvh/y8;
  - [Lvh/y9;
  - [Lvi/b;
  - [Lxc/c0;
  - [Lxc/g0;
  - [Lxc/i0;
  - [Lxh/a;
  - [Lzc/f;
  - [Lzc/h;
  - [Lzh/c0;
  - [Lzh/l0;
  - [Lzh/n;
  - [Lzh/y;
  

METHODS:

   old   │ new   │ diff              
  ───────┼───────┼───────────────────
   63217 │ 63174 │ -43 (+2
...✂
ARSC
ENTRIES:

   old  │ new  │ diff       
  ──────┼──────┼────────────
   7425 │ 7421 │ -4 (+0 -4) 
  - drawable/stripe_ic_paymentsheet_pm_upi
  - string/stripe_paymentsheet_buy_using_upi_id
  - string/stripe_paymentsheet_payment_method_upi
  - string/stripe_upi_polling_message

@toluo-stripe toluo-stripe marked this pull request as ready for review April 17, 2026 15:29
@toluo-stripe toluo-stripe requested review from a team as code owners April 17, 2026 15:29

@jaynewstrom-stripe jaynewstrom-stripe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a changelog entry? Does this affect react native?

<!-- Title shown above a view allowing the customer to save a US bank account. -->
<string name="stripe_paymentsheet_add_us_bank_account">Agrega una cuenta bancaria de EE. UU.</string>
<!-- Header text shown above a UPI ID text field -->
<string name="stripe_paymentsheet_buy_using_upi_id">Comprar con un ID de UPI</string>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these just going to be added back by our localize script?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll delete them manually from loaklize

<!-- Text on a screen asking the user to approve a payment -->
<string name="stripe_upi_polling_header">Aprobar pago</string>
<!-- Countdown timer text on a screen asking the user to approve a payment -->
<string name="stripe_upi_polling_message">Abre tu aplicación UPI para aprobar tu pago en el plazo de %s</string>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here?

toluo-stripe and others added 5 commits April 17, 2026 11:39
UPI is being removed as a supported payment method. This deletes all
UPI-specific source files, UI elements, definitions, parsers, and
test fixtures across the SDK.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
@toluo-stripe

Copy link
Copy Markdown
Contributor Author

@jaynewstrom-stripe Yes this affects react native. We'll have to update the ios/android sdk versions in react native after we deploy. We will then delete upi from react native

@toluo-stripe toluo-stripe merged commit 6127352 into master Apr 17, 2026
22 checks passed
@toluo-stripe toluo-stripe deleted the tolu/run/delete_upi branch April 17, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants