I am trying to prepare an import script for adding our one-time (i.e. Lifetime) historically purchases from Stripe into RC. I am able to successfully use the API to create annual subscription but have not figured out how to get passed the "{"code":7103,"message":"The receipt is not valid."}" error I keep getting for my one-time purchase query. I am using the Stripe checkout key at the fetch_token and Postman to get test the syntax structure first. Here's my code:
header 'Accept: application/json'
header 'Authorization: Bearer [stripe_secret_key]'
header 'Content-Type: application/json'
header 'X-Platform: stripe'
{
"product_id": "prod_HMezcIkru867vf",
"price": 99.99,
"currency": "USD",
"is_restore": "false",
"app_user_id": "ZOVwTCYttQagvnO0ALT7vhmoYWf2",
"fetch_token": "ch_3K8UhVEwxMCNONa5180XDbh7",
"introductory_price": 49.99
}
Question
RevenueCat API query for Stripe one-time purchases triggers code 7103 The receipt is not valid
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.