Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SoftLayer API Error using cancelItem immediately for hourly baremetal server #23

Open
mnnmountain opened this issue May 31, 2016 · 0 comments

Comments

@mnnmountain
Copy link

I use the SoftLayer API to let user to cancel product. We have use case which let the customer to cancel the the item on anniversary date, then the provider can void the customer anniversary cancellation order and cancel the server immediately. For hourly bare-metal server, I use call

SoftLayer_Billing_Item.

    1. cancelItem ( false, false, "No longer needed", "No longer needed, was testing server" ) //cancel on anniversary date,
    1. voidCancelService() to void previous cancellatoin
    1. cancelItem ( true, false, "No longer needed", "No longer needed, was testing server" ) to cancel immediately.

My test example is $orderId =8623619; billingId = 103903285 hourly baremetal server
I can see a ticket 28899623 is generated then void with step 1 and step 2.
The step 3 call gives an error "There was an error querying the SoftLayer API: A cancellation ticket already exists for this server. Please refer to ticket 28899623.

Please refer SoftLayer ticket # 28969957 for more information and sample php file.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant