Skip to content

QA tool payments to use catalog data from QA tool platform#207

Open
whooooop wants to merge 2 commits into
developfrom
qatool/payments
Open

QA tool payments to use catalog data from QA tool platform#207
whooooop wants to merge 2 commits into
developfrom
qatool/payments

Conversation

@whooooop

@whooooop whooooop commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Simplifies the QA tool payments flow so it relies on data coming from the QA tool messages instead of locally-stored product platform data.

  • Purchase: build the purchase payload directly from id and externalId (options.externalId or a generated transaction id) instead of looking up local product platform data.
  • Get catalog: stop sending products in the request; read price, currency and priceCurrencyImage from the GET_CATALOG response payload instead of the hardcoded Gam values.
  • Get purchases: stop sending products and map purchases straight from purchaseData.
  • Remove the now-unused _paymentsGetProductsPlatformData / _paymentsGetProductPlatformData helpers.

Build purchase payload from id and externalId directly instead of local
product platform data. Read catalog price and currency from the
GET_CATALOG response payload, and map purchases straight from
purchaseData.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@whooooop whooooop changed the title Simplify QA tool payments to use catalog data from QA tool messages QA tool payments to use catalog data from QA tool platform Jun 18, 2026
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.

1 participant