Skip to content

Commit

Permalink
Fix: #207 인앱 결제 서비스 로직 수정2
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJae-H committed Dec 4, 2024
1 parent 54377b1 commit ee220f4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ public Boolean validateReceipt(Long userId, PurchaseRequestDto purchaseRequestDt

builder = new AndroidPublisher.Builder(httpTransport, JSON_FACTORY, new HttpCredentialsAdapter(credentials));

AndroidPublisher publisher = null;
publisher = builder.setApplicationName(googleApplicationPackageName).build();
AndroidPublisher publisher = builder.setApplicationName(purchaseRequestDto.getPackageName()).build();

try {
AndroidPublisher.Purchases.Products.Get get = publisher.purchases().products()
Expand Down

0 comments on commit ee220f4

Please sign in to comment.