amzn / amzn/amazon-pay-api-sdk-php

Unable to retrieve fee component of a payment.

Open
#15 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
51
Forks
33
PR merge metrics
No merged PRs in 30d

Description

As per #14, the 'new' Amazon Pay API apparently provides no way to retrieve the fee that was charged to process a given payment.

This information was available via previous Amazon Pay APIs, and is seemingly *still* available via those APIs, for payments made via the new API. Given that I've seen multiple suggestions/warnings not to make use of both APIs concurrently for charging customers, It seems extremely odd that the only way to retrieve the fee information currently, is to use both APIs/SDKs - one for creating and checking the charge, and then a different one to retrieve the fee.

I opened issue #14 about this previously, and it was summarily closed by someone who either didn't read what I'd written or didn't comprehend what I was asking about.

Contributor guide

Open the contributing guide

Research direction

Begin with issue #14 and compare the new and previous Amazon Pay API/SDK fee-retrieval paths described here. Confirm whether the new API exposes a supported fee field or operation, and treat the work as complete only when the SDK provides or clearly documents a supported way to retrieve the fee for a payment.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, payments
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.