Page MenuHomePhabricator

Credit card payment notification "template"
Closed, ResolvedPublic

Description

/handle-creditcard-payment-notification acts as an endpoint for notifications by a 3rd party system to set the payment status of donations. The 3rd party client expects our endpoint to answer in a specified format to consider its request successful. This result is formatted on our site via a dedicated template, Credit_Card_Payment_Notification.txt.twig.

As this is a server-to-server call our clients' skin preference is irrelevant to this communication, however the default skin has to have this template in order to avoid errors.

  • copy Credit_Card_Payment_Notification.txt.twig to the cat17 skin

or

  • let CreditCardNotificationPresenter build the result without the help of a template - it is a machine-readable response

Event Timeline