camaraproject / CarrierBillingCheckOut

Repository to describe, develop, document and test the Carrier Billing Check Out API family
Apache License 2.0
9 stars 9 forks source link

Business Exception for a given Payment Procedure #117

Closed PedroDiez closed 6 months ago

PedroDiez commented 8 months ago

Problem description Busines Scenario where a payment cannot be allowed either via 1-STEP or 2-STEP, due to business considerations with a Merchant or Hyperscaler/Aggregator or even underlying procedures within a Telco in a given country.

Therefore, it is proposed a new Exception to cover this scenario in both mechanisms (1-STEP, 2-STEP)

Possible evolution Add new exception 403 "CARRIER_BILLING.PAYMENT_NOT_ALLOWED" in endpoints:

Alternative solution N/A

Additional context N/A

PedroDiez commented 8 months ago

Please @bigludo7, @rartych, @mohamedsaeedstc take a look to it, in order for the next meeting, any initial doubt/comment is welcome

PedroDiez commented 7 months ago

Think we can manage with the solution of Issue#110 So no need to add an additional exception