Skip to main content
Question

show intro/trial line item when checking out


Forum|alt.badge.img+7
  • Dedicated Member
  • 31 replies

How do I show this free trial when checking out?

 

I have setup my App Store Connect API & In App purchase key config to RevenueCat.

When checking the data shape of `Purchases.getOfferings()` using JS/ReactNative API, my annual offer seems to have it there as part of the `introPrice`:

 

annual: {
        offeringIdentifier: 'default',
        product: {
          priceString: '$49.99',
          currencyCode: 'USD',
          description: 'Access all content',
          productType: 'NON_CONSUMABLE',
          discounts: [],
          productCategory: 'SUBSCRIPTION',
          subscriptionPeriod: 'P1Y',
          price: 49.989999999999995,
          identifier: 'ios_annual_4999_default',
          title: 'Annual Subscription',
          introPrice: {
            periodUnit: 'DAY',
            periodNumberOfUnits: 3,
            period: 'P3D',
            priceString: '$0.00',
            price: 0,
            cycles: 1,
          },
        },
        packageType: 'ANNUAL',
        identifier: '$rc_annual',
      },

But when I checkout, all I see is the root price of 4999.

2 replies

wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 262 replies
  • November 22, 2023

Hi, Can you share a screenshot of what the check out screen looks like? Would you also mind trying to recreate this issue with a new sandbox user in order to make sure that the user is eligible for the offer?


Forum|alt.badge.img+7
  • Author
  • Dedicated Member
  • 31 replies
  • November 22, 2023

I think this can be closed.  I believe it’s due to the user already having a sandbox purchase, so it’s no longer an “initial” offer.  A hidden setting/feature/bug. LOL


Reply


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