Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for apple pay coupons. #3280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaredmg75
Copy link

Summary

  • Update the STPApplePayContextDelegate protocol to include an optional function for when the coupon code changes.
  • Update the STPApplePayContext delegate mapping to include our new coupon delegate function.
  • Add the paymentAuthorizationController delegate function to STPApplePayContext to broker coupon changes between Apple Pay and the host app.

Motivation

Support adding coupon code directly in Apple Pay.

Feature Request: #2278

Testing

This was tested on device in iOS 15, 16 and 17.

Changelog

  • [Added] The ability to use coupon codes in the Apple Pay experience directly.

- Update the STPApplePayContextDelegate protocol to include an optional function for when the coupon code changes.
- Update the STPApplePayContext delegate mapping to include our new coupon delegate function.
- Add the paymentAuthorizationController delegate function to STPApplePayContext to broker coupon changes between Apple Pay and the host app.

Feature Request: stripe#2278
@CLAassistant
Copy link

CLAassistant commented Feb 12, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants