Page MenuHomePhabricator

Payment method migration: Apple Pay and Google Pay
Closed, ResolvedPublic

Description

We currently have on Fundraiseup:

  • 198 active Apple Pay recurring plans
  • 147 active Google Pay recurring plans

From the docs:

Important: Apple Pay and Google Pay payment methods cannot be migrated between payment processors due to intrinsic technical limitations. For these payment methods:

  • Keep existing recurring plans on Stripe
  • Use the Stripe subscriptions object to continue processing these specific payments
  • Create new recurring plans in your new platform for future donors

According to the suggestions on the docs and given we do not have any current integrations with Stripe, we have two options:

  • Request donors to create a new recurring plan on Gravy Apple Pay/Google Pay.
  • Build a new integration to manage recurring plans with stripe, the two options would entail:
    • Allowing Stripe manage the recurring would mean we would need to create a new daily import job (similar to Fundraiseup's) on Civi.
    • If we choose to process the transaction ourselves through Stripe, we would need to create a new integration for Stripe just like we have for Gravy and Adyen.

Details

Event Timeline

Gravy confirmed on the team call that given the close loop system they have with Stripe, they can continue to charge the existing Apple Pay and Google Pay tokens in Stripe on our behalf. All that is required of us is to provide the payment method id saved in Stripe for them to be able to create the chargeable payment methods.

I've pulled down the details from Stripe and Fundraiseup and uploaded to the SFTP directory Gravy shared.

Gravy has been able to attach a payment method ID and test payments through the migrated tokens were successful, however the webhook message received does not specify which token was charged (i.e either Google or Apple), it only says stripetoken. While this isn't a major blocker, I am currently speaking with Gravy to see if there's a way to be specific.

Payment links
Successful charge of Googlepay token from migration, transaction on Gravy
Successful charge of Applepay token from migration

Change #1185947 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/SmashPig@master] WIP: Add Stripe Token to reference data.

https://gerrit.wikimedia.org/r/1185947

Change #1185947 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Add Stripe Token to reference data.

https://gerrit.wikimedia.org/r/1185947