Hello All I have a script that runs every morning for renewal / billing of domains. Basically, it checks our database for any domains expiring 60 days from now, then sends a RENEW call to OpenSRS through the API and checks the response. If the response is successful (is_success = 1), it sends the invoice to the customer. If not, it sends me the response code & response text and then goes on to the next domain.
The first problem I have had is several requests return no value (not 1 or 0) for is_success and, every time, these domains' renewals have been successful, but no invoices were sent. In these cases, the response code and response text are also blank. The other problem I have had occurs when we have the incorrect expiry date (year) in our local data. In these cases, the response from the API should be code 541, Invalid attribute value, but they always get renewed anyway. These two problems have not caused any great catastrophe (I always set 'handle' to save), but they are creating a lot of extra work for me. Anything I should be looking at to fix (or at least get around) these problems. Thanks Brian O'Donnell Doctor PC www.doctorpc.ca _______________________________________________ domains-dev mailing list domains-dev@discuss.tucows.com http://discuss.tucows.com/mailman/listinfo/domains-dev