content: Purchases().purchase({ package: offerings.current().monthly }, sub(result, error)
    ' error will be present if the transaction could not be finished
    if error <> invalid
      if result <> invalid and result.userCancelled = true
        print "The user cancelled the purchase"
      end if
      print "The purchase could not be completed"
    else
      ' The raw transaction generated by the purchase
      result.transaction
  
      ' The subscriber object
      result.subscriber
    end
  end sub)