-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
This is not the correct URL:
Salesforce_Commerce_Cloud_Affirm/cartridges/int_affirm/cartridge/scripts/api/affirmAPI.js
Line 111 in afee520
| affirmService.URL = affirmData.getURLPath() + '/v1/transactions/' + chargeId + '/update'; |
API documentation https://docs.affirm.com/developers/reference/update_transaction notes the correct URL is:
https://sandbox.affirm.com/api/v1/transactions/{transaction_id}
There is no /update in the correct URL.
Calling with /update gets a 404 response:
service=affirm.update status=ERROR errorCode=404 errorMessage={
"message": "The checkout associated with the transaction could not be found.",
"status_code": 404,
"type": "not_found"
}
Once the /update is removed, a 200/OK response with the transaction info in the response body as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels