# In-Island Transaction documentation Verse Handling Payment different from Example

**URL:** <https://forums.unrealengine.com/t/in-island-transaction-documentation-verse-handling-payment-different-from-example/2702344>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite\
**Created:** [February 25, 2026, 11:02pm UTC](https://forums.unrealengine.com/t/in-island-transaction-documentation-verse-handling-payment-different-from-example/2702344 "2026-02-25T23:02:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [February 25, 2026, 11:02pm UTC](https://forums.unrealengine.com/t/in-island-transaction-documentation-verse-handling-payment-different-from-example/2702344/1 "2026-02-25T23:02:34Z")

</div>

### Summary

In-Island Transaction documentation Verse Handling Payment different from Example.  
The Verse from the example is

```auto
TryBuyOffer(Player : player, Offer : offer)<suspends>:void =
        Result := BuyOffer(Player, Offer)

        if (Result?):
            # Do nothing it should respond in the purchase subscription
        else:
            Print("Failed to buy the offer")

```

The document  
[Creating Items and Offers](https://dev.epicgames.com/documentation/en-us/fortnite/creating-items-and-offers-in-fortnite#handlingpurchases)

```auto
TryBuyOffer(Player:player, Offer : offer)<suspends>:void =
    Result := BuyOffer(Player, Offer)

    if (not Result?):
        Print("Failed to buy the {offer.name} offer.")

```

This fails when trying to cancel an offer  
The problem is there is an extra NOT inside the IF statement.  
In the working example this is correct.  
This possibly due to using the code created before January 2026

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

Verse

### Steps to Reproduce

1. Check the UEFN Feature Example In Island Transaction  
\Content\InIslandTransactions\buy\_gnome\_device.verse  
lines 31 to 36

2. Compare this to  
[Creating items - Handling Purchases](https://dev.epicgames.com/documentation/en-us/fortnite/creating-items-and-offers-in-fortnite#handlingpurchases)

In the IF statement there is a NOT which inverts the function of IF statement and Verse transactions problems that cannot be detected until live

### Expected Result

Does not deduct VBUCKS , but using code from document will deduct VBucks.

### Observed Result

Will only work with “NOT” removed from Verse IF

### Platform(s)

windows11

### Upload an image

 ![IITifNOTerror.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/0/730723d7370b8b2ad3732d9df41e95706f1c3eae.png)

### Additional Notes

This very hard to find and might be thought to be a Verse error but it causes a custom device verse error.  
When its just a documentation error

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [February 25, 2026, 11:24pm UTC](https://forums.unrealengine.com/t/in-island-transaction-documentation-verse-handling-payment-different-from-example/2702344/2 "2026-02-25T23:24:33Z")

</div>

Thank you, @Jimbohalo10 we’ll get this over to the documentation team.

---

<div class="post-metadata">

**Author:** ![Sprintermax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sprintermax/32/1037175_2.png) [@Sprintermax](https://forums.unrealengine.com/u/Sprintermax)\
**Post date:** [February 26, 2026, 2:41am UTC](https://forums.unrealengine.com/t/in-island-transaction-documentation-verse-handling-payment-different-from-example/2702344/3 "2026-02-26T02:41:59Z")

</div>

I am confused, can you give more examples or explain in a different way?  
From what I see both are correct…

The “not” is negatig the condition (instead of checking if result is true, it is checking if result is false). This is perfectly fine, the difference is that on one example the failure is on the `else` block and the other does not (thus why it being inverted the check).

It should not affect anything else and work exacty the same (both printing the purchase “failed” text when purchase fails)

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [March 7, 2026, 7:48pm UTC](https://forums.unrealengine.com/t/in-island-transaction-documentation-verse-handling-payment-different-from-example/2702344/4 "2026-03-07T19:48:46Z")

</div>

hi @Flak ,

This has now been updated and new section added

This showing the better way to do this. There is a warning about the previous pre 9th January 2026 Verse code methods used in various early YouTube videos

This can be closed now

Thanks

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [March 8, 2026, 1:12pm UTC](https://forums.unrealengine.com/t/in-island-transaction-documentation-verse-handling-payment-different-from-example/2702344/5 "2026-03-08T13:12:39Z")

</div>


