Official Content

You will need the object’s Id:
  1. Call the API using StripeSDKMain External Object
  2. Load Response or Handle Errors
    //Make the API call
    &StripeSDKMain.DeletePlan(&Api_Key,&PlanId,&Response,&Errors,&ErrorCode)
    
    //Handle Errors
    if &ErrorCode = 0
        &StripePlanDeleteResponse.FromJson(&Response)
        Msg(&StripePlanDeleteResponse.ToJson())
    else
        &StripeError.FromJson(&Errors)
        Msg(&StripeError.ToJson())
    EndIf



Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant