USPS / api-examples

85 stars 18 forks source link

"CRID isn't enrolled in USPS Ship Outbound" #21

Open MaplesDev opened 10 months ago

MaplesDev commented 10 months ago

Hello,

I am having trouble with the payment and label test APIs.

My request to https://api-cat.usps.com/payments/v3/payment-authorization from Postman:


{
    "roles": [
         {
            "roleName": "PAYER",
            "CRID": "{{CRID}}",
            "MID": "{{MID}}",
            "manifestMID": "{{MID}}",
            "accountType": "EPS",
            "accountNumber": "{{EPSID}}"
        },
        {
            "roleName": "LABEL_OWNER",
            "CRID": "{{CRID}}",
            "MID": "{{MID}}",
            "manifestMID": "{{MID}}"
        }
    ]
}

Response:

{
    "body": "CRID isn't enrolled in USPS Ship Outbound",
    "roles": [
        {
            "roleName": "LABEL_OWNER",
            "MID": "Redacted",
            "CRID": "Redacted",
            "manifestMID": "Redacted"
        }
    ]
}

Using https://gateway-cat.usps.com I was able to enroll in USPS Ship Returns, but there was no option to enroll in USPS Ship Outbound. I have reached out to APISupport@usps.gov but all responses have been the exact same message:

Make sure these steps are followed to get you going;

Create Business Customer Gateway account, BCG setup using gateway-cat.usps.com. ? If so, use the same credentials to log into developer-cat.usps.com and create an application. Make sure to use their company name in the name of the application. We make API users ‘create’ and name their application when they sign up.

• For the new USPS APIs, sign up here: PROD https://developer.usps.com/getting-started

CAT https://developer-cat.usps.com/getting-started

This process will get you a CRID/MID and you will create an Application in the portal.

I have followed every step and nothing is working. I can't even add a payment method to my Test EPS Account to take it out of "Pending" status.

How can I progress past this point? Any help is GREATLY appreciated.

Thanks.

Evon-Simran commented 7 months ago

Any lead? @MaplesDev

John-0927 commented 7 months ago

Same issue. Any update?

wangzhen1990 commented 7 months ago

I have another problem. { "apiVersion": "/payments/v3", "error": { "code": "403", "message": "The requested payment information is not authorized to access /payments/v3/payment-authorization.", "errors": [] } }Did you encounter it?

bafitu commented 6 months ago

Hi,

I had the same issue - managed to get access_token but the payment token failed with the same error. The tech support just send me this document where you have to add your consumer key on the Customer Onboarding Portal (COP). I was already doing that few times but no luck. Turns out they want you to login into this portal with specific username and password and then add your consumer key from your account.

  1. Navigate to https://cop-cat.usps.com/navigator?wf=apionboarding
  2. Login using Username – USPSAPIJWT Password – YourCATPasswordHere
  3. Enter the Consumer Key from your USPS APIs CAT Developer Portal App. Note: This field is named Client ID in the OAuth API.
  4. Submit the Consumer key.

USPS APIs v3 Claims Process (CAT Default Credentials).docx

charlene-bedford commented 6 months ago

You need the USPS Ship account management service in the BCG, once you have it click the link again in the BCG…(USPS ship account management). it will take you to the ship application where you can enroll in outbound and returns. Once that is done and you have your key and secret and an EPS account you should be successful. On Apr 17, 2024, at 4:58 AM, Nikolay Chanev @.***> wrote: Hi, I had the same issue - managed to get access_token but the payment token failed with the same error. The tech support just send me this document where you have to add your consumer key on the Customer Onboarding Portal (COP). I was already doing that few times but no luck. Turns out they want you to login into this portal with specific username and password and then add your consumer key from your account.

Navigate to https://cop-cat.usps.com/navigator?wf=apionboarding Login using Username – USPSAPIJWT Password – CATTester20 Enter the Consumer Key from your USPS APIs CAT Developer Portal App. Note: This field is named Client ID in the OAuth API. Submit the Consumer key.

USPS APIs v3 Claims Process (CAT Default Credentials).docx

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>