We have a service where the customers can subscribe for it.
It was working fine, but once (about 2 months ago) stopped working. Since we see some changes on the PP web interface.
We didn't change anything in our code and it is not working now. So I guess PP changed something.
I cannot find any good guide to fix this issue.
What I have to change to follow the PP changes?
This is my code:
if (rppdr.Ack == AckCodeType.SUCCESS)
// SET UP THE REQUEST
UpdateRecurringPaymentsProfileRequestDetailsType req = new UpdateRecurringPaymentsProfileRequestDetailsType(formulate.SubscriptionId);
UpdateRecurringPaymentsProfileReq urpp = new UpdateRecurringPaymentsProfileReq();
urpp.UpdateRecurringPaymentsProfileRequest = new UpdateRecurringPaymentsProfileRequestType();
// SET THE NEW AMOUNT
req.Amount = new BasicAmountType();
req.Amount.value = Math.Round(formulate.TotalPrice, 2).ToString();
req.Amount.currencyID = CurrencyCodeType.GBP;
urpp.UpdateRecurringPaymentsProfileRequest.UpdateRecurringPaymentsProfileRequestDetails = req;
// DO THE UPDATE!
UpdateRecurringPaymentsProfileResponseType upprt = service.UpdateRecurringPaymentsProfile(urpp);
and after it I get the failure message.
Any advice will be appreciated.