globalpayments / java-sdk

GNU General Public License v2.0
25 stars 41 forks source link

The case of the account name registered on the developer portal does not match the account name used by the SDK #16

Open husile333 opened 3 years ago

husile333 commented 3 years ago

SDK used account name(hard code):

Transaction_Processing(GpApiConnector.processAuthorization)

developer portal generated account name:

transaction_processing

So you can meet the following error result if using GP API with java-sdk:


{
  "error_code": "ACTION_NOT_AUTHORIZED",
  "detailed_error_code": "40003",
  "detailed_error_description": "Token does not match merchant config in the request"
}
rxp-developers commented 3 years ago

The following PR was created to fix this issue: https://github.heartlandapps.net/DevPortal/java-SDK-v3/pull/156 @Russell Everett @.***> you were added as a reviewer.

Thanks in advance !

On Thu, Apr 1, 2021 at 5:16 AM 'husile333' via DL_Developers < @.***> wrote:

SDK used account name(hard code):

Transaction_Processing(GpApiConnector.processAuthorization)

developer portal generated account name:

transaction_processing

So you can meet the following error result if using GP API with java-sdk:

{ "error_code": "ACTION_NOT_AUTHORIZED", "detailed_error_code": "40003", "detailed_error_description": "Token does not match merchant config in the request" }

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_globalpayments_java-2Dsdk_issues_16&d=DwMCaQ&c=zQ6tLaF7dShu6emFdFLQLQ&r=QDDMxukUX4zqjTxKNXuNmzSFpuFZFz9Hs0l2FXcTpQA&m=mEt3RIilPiQwwkU9GHfaj5HI5w88h6lfyh4cZxt5TsA&s=pcvbIe7iVnX4fx5dG6xR4127_e2E6ZEpM73F-4ZkdPU&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AG3Z63MVRXLD7DRU6W6NJJLTGQTSNANCNFSM42GS4MSA&d=DwMCaQ&c=zQ6tLaF7dShu6emFdFLQLQ&r=QDDMxukUX4zqjTxKNXuNmzSFpuFZFz9Hs0l2FXcTpQA&m=mEt3RIilPiQwwkU9GHfaj5HI5w88h6lfyh4cZxt5TsA&s=Tfz0TyE0GY6tJstvkc3IK2LOY2VnHbff1a2WKa1iGyU&e= .

-- NOTICE: This email message is for the sole use of the addressee(s) named above and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this message or any attachments is expressly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies and backups of the original message.