How to trigger REFUND ServerNotification for test.

We are developing the system which receives the App Store Server Notifications.

https://developer.apple.com/documentation/appstoreservernotifications

We needs the way to test this system with producing the Notification, especially about REFUND notification type.

Is there any way?

Maybe there is no choice but to actually refund by requesting from reportaproblem.apple.com? https://support.apple.com/en-us/HT204084

I think this request is manually handled by Apple support operator and take a long time. So, we would be happy if there is a simple way to produce REFUND server notification for test.

Answered by App Store Commerce Engineer in 707861022

Great question - you can simulate refunds in Sandbox and Testflight if your app has the BeginRefundRequest Method implemented.

See here for more info on what you can test and you'll find a link to the BeginRefundRequest method. https://developer.apple.com/documentation/storekit/in-app_purchase/testing_at_all_stages_of_development_with_xcode_and_sandbox

Accepted Answer

Great question - you can simulate refunds in Sandbox and Testflight if your app has the BeginRefundRequest Method implemented.

See here for more info on what you can test and you'll find a link to the BeginRefundRequest method. https://developer.apple.com/documentation/storekit/in-app_purchase/testing_at_all_stages_of_development_with_xcode_and_sandbox

How to trigger REFUND ServerNotification for test.
 
 
Q