Skip to main content
Question

introPrice is null for valid Android subscription with offer

  • 5 September 2024
  • 1 reply
  • 38 views

Forum|alt.badge.img+3

I’ve setup a subscription in Google Play console that includes an offering. 

While the RevenueCat SDK (react native) is able to access the subscription correctly, the free trial (introPrice) is missing (set to null). 

 

Offer settings in Google Play console

Newly created offer, user as never purchased this subscription before.

 

Offer received on the front-end

{
	annual: {
		identifier: "$rc_annual",
		offeringIdentifier: "ProTrial",
		packageType: "ANNUAL",
		presentedOfferingContext: {
			offeringIdentifier: "ProTrial",
			placementIdentifier: null,
			targetingContext: null,
		},
		product: {
			currencyCode: "AUD",
			defaultOption: [Object],
			description: "",
			discounts: null,
			identifier: "yearly_pro_trial:yearly-pro-trial",
			introPrice: null,
			presentedOfferingContext: [Object],
			presentedOfferingIdentifier: "ProTrial",
			price: 124.99,
			pricePerMonth: 10415833,
			pricePerMonthString: "A$10.42",
			pricePerWeek: 2397068,
			pricePerWeekString: "A$2.40",
			pricePerYear: 124990000,
			pricePerYearString: "A$124.99",
			priceString: "$124.99",
			productCategory: "SUBSCRIPTION",
			productType: "AUTO_RENEWABLE_SUBSCRIPTION",
			subscriptionOptions: [Array],
			subscriptionPeriod: "P1Y",
			title: "....",
		},
	},
	availablePackages: [
		{
			identifier: "$rc_monthly",
			offeringIdentifier: "ProTrial",
			packageType: "MONTHLY",
			presentedOfferingContext: [Object],
			product: [Object],
		},
		{
			identifier: "$rc_annual",
			offeringIdentifier: "ProTrial",
			packageType: "ANNUAL",
			presentedOfferingContext: [Object],
			product: [Object],
		},
	],
	identifier: "ProTrial",
	lifetime: null,
	metadata: {},
	monthly: {
		identifier: "$rc_monthly",
		offeringIdentifier: "ProTrial",
		packageType: "MONTHLY",
		presentedOfferingContext: {
			offeringIdentifier: "ProTrial",
			placementIdentifier: null,
			targetingContext: null,
		},
		product: {
			currencyCode: "AUD",
			defaultOption: [Object],
			description: "",
			discounts: null,
			identifier: "monthly_pro_trial:monthly-pro-trial",
			introPrice: null,
			presentedOfferingContext: [Object],
			presentedOfferingIdentifier: "ProTrial",
			price: 23.99,
			pricePerMonth: 23990000,
			pricePerMonthString: "A$23.99",
			pricePerWeek: 5520986,
			pricePerWeekString: "A$5.52",
			pricePerYear: 287880000,
			pricePerYearString: "A$287.88",
			priceString: "$23.99",
			productCategory: "SUBSCRIPTION",
			productType: "AUTO_RENEWABLE_SUBSCRIPTION",
			subscriptionOptions: [Array],
			subscriptionPeriod: "P1M",
			title: "...",
		},
	},
	serverDescription: "3-day free trial. Unlimited access to all Pro features.",
	sixMonth: null,
	threeMonth: null,
	twoMonth: null,
	weekly: null,
}

 

Using: 

"react-native": "0.74.5",
"react-native-purchases": "^8.1.0",

 

Everything works as expected on iOS. 

This post has been closed for comments

1 reply

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • September 9, 2024

Hi @georg-san,

Sounds like Google is deciding that your Google account is not eligible for the offer. Can you try again with a completely new Google account and let me know what you get?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings