stripe-ios icon indicating copy to clipboard operation
stripe-ios copied to clipboard

[Feature] PayNow integration

Open dilab opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Currently, PayNow only supports JS integration at https://stripe.com/docs/js/payment_intents/confirm_paynow_payment

Describe the solution you'd like

IOS SDK should support PayNow as well. Particularly a method for confirmPayNowPayment

dilab avatar Aug 11 '22 01:08 dilab

Hi @dilab we currently don't have PayNow on our roadmap, but we will be sure to update this issue if anything changes!

porter-stripe avatar Aug 24 '22 19:08 porter-stripe

we need this for Singapore, can this be added to roadmap

hanumanAbacus avatar Nov 24 '22 04:11 hanumanAbacus

@hanumanAbacus We ended up implementing the feature by ourselves.

dilab avatar Nov 24 '22 06:11 dilab

@dilab do you think you can create pull request for the same or direct me if you have any link please

hanumanAbacus avatar Nov 24 '22 06:11 hanumanAbacus

@hanumanAbacus It is more of inspecting how the API calls are done and implement the backend in our native codebase.

dilab avatar Nov 24 '22 06:11 dilab

@hanumanAbacus we could probably write a tutorial for you by examing our codebase if you are willing to pay for our time.

dilab avatar Nov 24 '22 07:11 dilab

This is supported as of 23.17.0. We recommend using our drop-in UI product PaymentSheet to integrate. If you need to use your own UI, we don't have a guide yet unfortunately but you should be able to get started by taking an example for a ~similar payment method like Swish and modifying it for PayNow. https://github.com/stripe/stripe-ios/blob/7c23b0b66442f9c5fe81e4e2ed0ef2ed97546fce/Example/Non-Card%20Payment%20Examples/Non-Card%20Payment%20Examples/SwishExampleViewController.swift#L65-L99

yuki-stripe avatar Nov 29 '23 21:11 yuki-stripe