Skip to content

Commit

Permalink
Ignore buy error, fixes "purchasing" apk (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated authored Sep 23, 2022
1 parent ef79ea8 commit b25d0f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions purchase.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ func (client *GooglePlayClient) Purchase(packageName string, version int) (*gppr
version = app.VersionCode
}

_, err := client.GetBuyResponse(packageName, version)
if err != nil {
return nil, err
}
_, _ = client.GetBuyResponse(packageName, version)

res, err := client.GetDeliveryResponse(packageName, version)
if err != nil {
Expand Down

0 comments on commit b25d0f9

Please sign in to comment.