I am using John Conde’s AuthnetXML class he made for Authorize.Net. I am trying to create a profileID and a paymentprofileid for a user using createCustomerProfileRequest and then if created I apply the newly created customerprofileid and customerpaymentprofileid to the createCustomerProfileTransactionRequest and try and put a transaction through.
When it first goes through The account is created but the page goes white like something broke, I then click f5 to push through and it goes through fine. The way it is build is if the user has the ids already I bypass part one. ( creating the profiles ) I feel like it wont let me to two calls to the api one after the other or maybe the account needs a minute to propagate on the server?
Has anyone encountered something like this before?
I have seen anything like this. I whipped up an example that more or less did what you’re trying to do and didn’t experience any issues so I posted here for you to compare to your code. Hopefully it is helpful for you:
Here’s the XML that was sent back and forth:
createCustomerProfileRequest
createCustomerProfileTransactionRequest