• Resolved tuzmusic

    (@tuzmusic)


    I am building an app in React Native for a site that uses PMS. I’ve written a WP Plugin that sets up REST endpoints that allow me to create a user and add a subscription.

    Now I’m digging through the code trying to figure out how to integrate paying for subscriptions with PayPal, which is set up on the WP Admin end.

    Does anyone have some insight on how I would write a function to accomplish this?

Viewing 1 replies (of 1 total)
  • Plugin Author Georgian Cocora

    (@raster02)

    Hello @tuzmusic,

    I don’t have any experience with this, but I guess you could mimic the functionality from the process_sign_up() of the PayPal Standard gateway but instead of redirecting the user to PayPal at the end, return the URL to your app and do the redirect there.

    Hope this helps !

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Integrating payments with mobile app’ is closed to new replies.