Can Offer Codes be tested in TestFlight?

I'm currently working on an app with React Native Expo.

My goal is to add a promo code feature that will extend users' free trial period for subscriptions. I've created a button within the app that directs users to this link https://apps.apple.com/redeem?ctx=offercodes&id={apple_app_id}&code where they can enter their promo code (Offer Code). The subscription management is handled by RevenueCat.

I'm having trouble figuring out what mistake I might be making in implementing this. I've attempted creating One-Time Use Codes and testing it on TestFlight, but so far it hasn't been successful.

Answer №1

Apple promotional codes can only be utilized during production mode testing. To take advantage of this, submit your app for review and schedule a release date in the future to conduct testing before making it accessible to users.

Learn more here about Apple promo codes

Answer №2

Testing offer or promo codes in the sandbox environment directly is not possible, but there's a workaround available.

Redeeming an offer code generates a transaction similar to making an actual purchase in your app. To simulate offer code redemption testing:

  1. Access an account with an expired subscription.
  2. Navigate to the subscription management section within the app.
  3. Proceed to subscribe to a product from there.

If your app handles this scenario smoothly, it will likely function well for offer codes too.

Monitor the new transaction in your app to ensure proper handling of code redemptions.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Iframe navigation tracking technology

Let's say I have an iframe element in my HTML document. <html> <body> This is my webpage <button> Button </button> <iframe src="www.example.com"></iframe> </body> </html> If a user clicks on links wi ...

Troubleshooting: Scope not updating in AngularJS xeditable typeahead

Currently, I am utilizing the angular xeditable typehead directive to display an autocomplete dropdown. The data is being retrieved from a JSON file on the page and utilized in the jso array for e-typeahead functionality. When typing into the input field, ...

How can I send an object array that includes both data and files via ajax, and then access it in an MVC controller?

I currently have an object array structured as follows: var array=[ { Name:"name", Address:"address", Files://array of files }, { Name:"name", Address:"address", Files://array of files } ]; I am trying to pass this array through a ...

Is there a way for me to revert back to my initial list after the 3rd click?

Front end development const [clientList, setClientList] = useState([]); //store all data from the database in a list //make an axios request to retrieve data from the database useEffect(() => { Axios.get("http://localhost:3001/clients&quo ...

Encountered JSON array, unable to retrieve certain attributes in AngularJS

I have developed a web service that organizes my information into a list and then converts it to JSON format. Below is the JSON output: { GetEventLTResult: [ { eventID: 1, location: "Place A", type: "Communi ...

"Troubleshooting: Mongoose uniqueness feature not functioning

I am encountering an issue with mongoose where 'unique:true' is not functioning as expected. Take a look at the schema I have formulated: var mongoose = require('mongoose'); var userSchema = mongoose.Schema({ username:{ type:St ...

Disappear scrollbar when overlay is activated

How can I hide the scroll bar when an overlay is displayed on my page? .overlay{ display: none; opacity:0.8; background-color:#ccc; position:fixed; width:100%; height:10 ...

Safari may only provide audio without playing videos

When using Safari on Mac/iOS, I encountered a problem where the video would not play but only the sound could be heard. Additionally, only the first frame of the video was visible. Strangely, switching to another window or minimizing the browser seemed to ...

Generate a dynamic jqplot chart using data retrieved from a variable and JSON data

I'm struggling with loading data into a jqplot chart via variables as it only displays the first value. I am puzzled as to why this is happening. JavaScript: $(document).ready(function () { var sin = [[20, 10, 0, 10, 15, 25, 35, 50, 48, ...

"Vue.js integrates seamlessly with Tracking.js for advanced tracking

Has anyone successfully integrated the tracking.js library into a vueJS application? I followed these steps to install the package: npm install --save tracking After that, I defined the library in my main.js file like this: import tracking from 't ...

Is there a way to track and capture all live AJAX Requests in order to re-send them seamlessly?

Is it possible to monitor and intercept all dynamic AJAX requests and then resend them afterwards? How can this be achieved? XMLHttpRequest.prototype.realSend = XMLHttpRequest.prototype.send; XMLHttpRequest.prototype.send = function(value) { this.ad ...

Implementing event handling for external modules using on method in Node.js

I have been utilizing the request module (available at https://www.npmjs.com/package/request) for executing a series of http requests in my application. However, I am currently facing an issue while attempting to integrate a logging feature into it. I am s ...

Triggering a pop-up window to appear without user interaction on the specified date within the function

I am looking to automatically trigger a pop-up window when my website loads after a specific date that I define within a function. How can I set up the date function for this task? I want the pop-up window to appear automatically on 27/07/2011, and every ...

Guide to toggling the anchor tag functionality as a button with JavaScript

I am trying to dynamically enable or disable an anchor tag that is used as a button using JavaScript. Within a certain condition, I want to control the state of this button. Here is the specific button in question: <div class="row my-2 text-right& ...

Ensuring the authenticity of pubsubhubbub content signatures using Node.js and Express

Recently, I started working with Express and I'm currently in the process of setting up a middleware to handle a specific X-Hub-Signature based on the guidelines provided here: My goal is to create a middleware that can manage this task before the re ...

The start-min/start-max parameters in the Google Calendar API are not providing accurate results

My aim is to query the Google Calendar API for dates falling between the specified start-min and start-max dates. However, the results I'm getting include dates from outside this range that shouldn't be included. The calendar I am accessing has n ...

looking to restrict the interface to only specific types

Currently working with TypeScript and I have a query regarding the utilization of TypeScript interface. Is there a way to selectively extract and output specific key types from the interface being used? While I am able to isolate the type I need, I am inte ...

Utilizing the React useMemo Hook in Practical Examples

Scenario After delving into the official documentation for hooks, I decided to experiment with useMemo in one of my projects. To test it out, I created a sandbox project which can be accessed here. The example involves running an expensive calculation e ...

I am looking for string validation in Angular

Hello, I have just one input box where I enter a 10-digit string, and I am looking to apply the following validations to the entered string: The first 4 characters should be alphabets The characters from 5 to 9 should be numeric The last character should ...

Struggling due to the malfunctioning of Angular filter

I'm having an issue with using Angular filters within the context of ng-repeat. Take a look at my code snippet: <ul id="testDiv2" class="dropdownH"> <input type="text" placeholder="Keyword Filter" data-ng-model="search.category.category_n ...