Skip to content

Conversation

@tjclawson-stripe
Copy link
Collaborator

@tjclawson-stripe tjclawson-stripe commented Oct 28, 2025

Summary

Update StripeRepository.retrievePaymentMethodMessage to use /config endpoint
Update PaymentMethodMessageJsonParser

Motivation

Handle updated PMME API
Mobile PMME Render Flowchart

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

@github-actions
Copy link
Contributor

github-actions bot commented Oct 28, 2025

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.8 MiB │   4.8 MiB │ -3 B │  10.7 MiB │  10.7 MiB │  0 B 
     arsc │   2.6 MiB │   2.6 MiB │  0 B │   2.6 MiB │   2.6 MiB │  0 B 
 manifest │   5.8 KiB │   5.8 KiB │  0 B │  30.6 KiB │  30.6 KiB │  0 B 
      res │ 928.7 KiB │ 928.7 KiB │  0 B │   1.5 MiB │   1.5 MiB │  0 B 
   native │   3.5 MiB │   3.5 MiB │  0 B │   8.5 MiB │   8.5 MiB │  0 B 
    asset │   1.6 MiB │   1.6 MiB │  0 B │   1.6 MiB │   1.6 MiB │  0 B 
    other │ 198.6 KiB │ 198.6 KiB │ +4 B │ 373.8 KiB │ 373.8 KiB │  0 B 
──────────┼───────────┼───────────┼──────┼───────────┼───────────┼──────
    total │  13.7 MiB │  13.7 MiB │ +1 B │  25.3 MiB │  25.3 MiB │  0 B 

         │         raw          │          unique           
         ├───────┬───────┬──────┼───────┬───────┬───────────
 DEX     │ old   │ new   │ diff │ old   │ new   │ diff      
─────────┼───────┼───────┼──────┼───────┼───────┼───────────
   files │     2 │     2 │    0 │       │       │           
 strings │ 54857 │ 54857 │    0 │ 50316 │ 50316 │ 0 (+1 -1) 
   types │ 19738 │ 19738 │    0 │ 17540 │ 17540 │ 0 (+0 -0) 
 classes │ 14814 │ 14814 │    0 │ 14814 │ 14814 │ 0 (+0 -0) 
 methods │ 75774 │ 75774 │    0 │ 72358 │ 72358 │ 0 (+0 -0) 
  fields │ 49639 │ 49639 │    0 │ 48277 │ 48277 │ 0 (+0 -0) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  242 │  242 │  0   
 entries │ 6364 │ 6364 │  0
APK
    compressed    │   uncompressed   │                                           
───────────┬──────┼───────────┬──────┤                                           
 size      │ diff │ size      │ diff │ path                                      
───────────┼──────┼───────────┼──────┼───────────────────────────────────────────
  51.7 KiB │ +4 B │ 122.4 KiB │  0 B │ ∆ META-INF/MANIFEST.MF                    
     270 B │ -2 B │     120 B │  0 B │ ∆ META-INF/version-control-info.textproto 
 539.5 KiB │ -2 B │   1.2 MiB │  0 B │ ∆ classes2.dex                            
   4.3 MiB │ -1 B │   9.5 MiB │  0 B │ ∆ classes.dex                             
  55.2 KiB │ +1 B │ 122.4 KiB │  0 B │ ∆ META-INF/CERT.SF                        
   1.2 KiB │ +1 B │   1.2 KiB │  0 B │ ∆ META-INF/CERT.RSA                       
───────────┼──────┼───────────┼──────┼───────────────────────────────────────────
   4.9 MiB │ +1 B │  10.9 MiB │  0 B │ (total)
DEX
STRINGS:

   old   │ new   │ diff      
  ───────┼───────┼───────────
   50316 │ 50316 │ 0 (+1 -1) 
  
  + ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":21,"pg-map-id":"d75ba5b","r8-mode":"full","version":"8.8.34"}
  
  - ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":21,"pg-map-id":"bf005ed","r8-mode":"full","version":"8.8.34"}

@tjclawson-stripe tjclawson-stripe marked this pull request as ready for review October 28, 2025 20:04
@tjclawson-stripe tjclawson-stripe requested review from a team as code owners October 28, 2025 20:04
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