-
Notifications
You must be signed in to change notification settings - Fork 402
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
Create a Subscription from Customer Profile APi can not work. #284
Comments
I tried replicating the issue, and was able to create the subscription using from a payment profile with similar payment and billing information. |
Environment:
Steps to repeat:
This problem seems to be caused by data synchronization delay. My temporary solution is: After getting PaymentProfileID, wait 1 minute to create ARB. This time is usually successful. |
Thanks for the detailed steps for reproduction, @phpstudyone Yes, the delay in synchronization is possible. |
Also, have you tested your integration using Sandbox recently? |
I am so sorry to keep you waiting. upgrade to 1.9.6 or replace to Is this problem( |
I took back what I said. Because I found the formal environment also appeared this problem. |
I have absolutely the same error as @phpstudyone:
So the customer profile is created successfully, but I cannot use it immediately: I didn't face this error until the previous week. I found the same temporary solution about the delay after creating new customer profile in that old thread from Authorize.net forum:
My tests indicate that I have to wait at least 7-8 seconds after creating the new customer profile before I can proceed and set up new subscription without This error persists in both environments: sandbox and production. My version of the Authorize.net package: |
@ashtru, do you have any news about this issue? I see that SDK 1.9.7 has been released, but still I should wait 10 seconds to perform the very base operation — create a new recurring payment. I consider this situation as unacceptable on production environment, where every second matters. |
@phpstudyone @Lardpower |
@chsriniv9, thank you. |
Happy new year everybody. Is there any progress on this issue or it's abandoned by the developers? One more question: is there any chance that this problem is solved in the latest release 1.9.9? Thanks. |
I am experiencing this issue as well (with latest Node.js SDK). Introducing the artificial delay of 8 seconds does work. |
Hey everyone, I'm having the same issue as @phpstudyone @Lardpower but only in production, seems to work fine in sandbox. This issue has been open since February 2018, 16 months now. Has anyone come up with any interim solutions other than making users wait 7-10 seconds?? |
Adam, welcome to the club. Authorize.net developers don't care about this issue, so the only "solution" is to wait 10 seconds, even if it sounds crazy in the middle of the 2019 year. |
It kinda sucks that this issue has been going on for this long and hasn't been documented in the integration docs that would help developers if they come across this issue. I wasted about 3-4 hours looking up the docs to figure out what the issue is till I came across this issue report. As a resolution, I charged the customer for the current month and moved the |
@adamdew hopefully ^ helps |
Guys please try to solve this problem. It's a severe issue for the production server. I am literally wasting my hours try to find what caused the issue. |
What's even worse now is that there is enough data to show that in the third step above, the user information we obtained will often not have paymentProfileID and payment information. (Waiting for 15s before obtaining is usually successful) |
So you know python?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: jason zhang <notifications@github.com>
Sent: Monday, December 2, 2019 10:14:03 PM
To: AuthorizeNet/sdk-php <sdk-php@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [AuthorizeNet/sdk-php] Create a Subscription from Customer Profile APi can not work. (#284)
Steps to repeat:
1. Create Customer Profile<https://developer.authorize.net/api/reference/index.html#customer-profiles-create-customer-profile> and not include paymentProfiles fields. (Using the Accept Customer Hosted Form capture users' Payment info).
2. through request Get Accept Customer Profile Page<https://developer.authorize.net/api/reference/index.html#customer-profiles-get-accept-customer-profile-page> getting token.
3. When the Accept Customer Hosted Form return successful, request Get Customer Profile<https://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-profile> got payment profile id.
4. Get PaymentProfileID immediately after request Create a Subscription from Customer Profile<https://developer.authorize.net/api/reference/index.html#recurring-billing-create-a-subscription-from-customer-profile>. (The interval between steps 3 and 4 must not exceed 20 seconds)
This problem seems to be caused by data synchronization delay.
My temporary solution is: After getting PaymentProfileID, wait 1 minute to create ARB. This time is usually successful.
What's even worse now is that there is enough data to show that in the third step above, the user information we obtained will often not have paymentProfileID and payment information. (Waiting for 15s before obtaining is usually successful)
@ashtru<https://github.com/ashtru> @chsriniv9<https://github.com/chsriniv9>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#284?email_source=notifications&email_token=AN3PGQQQWR625JMN63NY6OLQWXFHXA5CNFSM4EP6C2O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFX52WA#issuecomment-560979288>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AN3PGQUAEMQVCXQSUKXV2HTQWXFHXANCNFSM4EP6C2OQ>.
|
How in the hell do I make invoices with this
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: jason zhang <notifications@github.com>
Sent: Monday, December 2, 2019 10:14:03 PM
To: AuthorizeNet/sdk-php <sdk-php@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [AuthorizeNet/sdk-php] Create a Subscription from Customer Profile APi can not work. (#284)
Steps to repeat:
1. Create Customer Profile<https://developer.authorize.net/api/reference/index.html#customer-profiles-create-customer-profile> and not include paymentProfiles fields. (Using the Accept Customer Hosted Form capture users' Payment info).
2. through request Get Accept Customer Profile Page<https://developer.authorize.net/api/reference/index.html#customer-profiles-get-accept-customer-profile-page> getting token.
3. When the Accept Customer Hosted Form return successful, request Get Customer Profile<https://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-profile> got payment profile id.
4. Get PaymentProfileID immediately after request Create a Subscription from Customer Profile<https://developer.authorize.net/api/reference/index.html#recurring-billing-create-a-subscription-from-customer-profile>. (The interval between steps 3 and 4 must not exceed 20 seconds)
This problem seems to be caused by data synchronization delay.
My temporary solution is: After getting PaymentProfileID, wait 1 minute to create ARB. This time is usually successful.
What's even worse now is that there is enough data to show that in the third step above, the user information we obtained will often not have paymentProfileID and payment information. (Waiting for 15s before obtaining is usually successful)
@ashtru<https://github.com/ashtru> @chsriniv9<https://github.com/chsriniv9>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#284?email_source=notifications&email_token=AN3PGQQQWR625JMN63NY6OLQWXFHXA5CNFSM4EP6C2O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFX52WA#issuecomment-560979288>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AN3PGQUAEMQVCXQSUKXV2HTQWXFHXANCNFSM4EP6C2OQ>.
|
I spent about 3 days trying to understand why if I create a customerPaymentProfile and then immediately go to create an ARB subscription I get the E00040 error. Who else got dumped off to Authorize.net after Stripe denies your business? IT. IS. 2023. TIME. FOR. UPDATED. DEV. DOCS. CEO of Authorize.net is rated a D boss when you look him up on google. |
2024 same problem and no one is going to solve it |
I got same issue in laravel app! |
What an absolute hell of an error too, I wonder how many cumulative days we all wasted ond this issue.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Utsav Somaiya ***@***.***>
Sent: Thursday, September 5, 2024 6:35:06 AM
To: AuthorizeNet/sdk-php ***@***.***>
Cc: Keith Peiker ***@***.***>; Comment ***@***.***>
Subject: Re: [AuthorizeNet/sdk-php] Create a Subscription from Customer Profile APi can not work. (#284)
I have absolutely the same error as @phpstudyone<https://github.com/phpstudyone>:
#E00040 - The record cannot be found
So the customer profile is created successfully, but I cannot use it immediately: [image] <https://user-images.githubusercontent.com/8854087/38118079-7a4c12a6-3386-11e8-8afd-0e5bde5dd2cf.png>
I didn't face this error until the previous week.
I found the same temporary solution about the delay after creating new customer profile in that old thread<https://community.developer.authorize.net/t5/Integration-and-Testing/E00040-When-validating-Customer-Payment-Profile/td-p/56066> from Authorize.net forum:
There can be a few seconds latency from the time a profile is created until it becomes available for follow-on requests as data replicates. If you wait a few seconds, does the profile data return?
My tests indicate that I have to wait at least 7-8 seconds after creating the new customer profile before I can proceed and set up new subscription without E00040 error. If I'm waiting about 10 seconds, then I can create successfully subscription with that newly created customer profile. However, some random delay is not an acceptable solution for me.
This error persists in both environments: sandbox and production.
My version of the Authorize.net package: authorizenet/authorizenet 1.9.6
I got same issue in laravel app!
—
Reply to this email directly, view it on GitHub<#284 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARYH3IN6TYL7MSJXZN7X43LZVBFXVAVCNFSM6AAAAABMQGMMJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZRGQ3DAOJWHE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Create a Subscription from Customer Profile API occasionally cannot work. Can you help me?
I create customerPaymentProfileID is successful.
Then I charge a customer profile id also is successful.
Then I Get Customer Payment Profile also is successful.
4. BUT then I Create a Subscription from Customer Profile is failure
The text was updated successfully, but these errors were encountered: