Help understanding flow of subscriptions in php
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hopefully I am asking this in the correct place....
I am trying to understand the flow of payments.
Basically I need to understand how I match customers to subscriptions.
Is it as simple as each user has a plan generated for them with a unique id? Then the status of the plan can be matched to the user on successful payment?
Seems I can get a $plan->id when users first begins a checkout process.
An actual $subscription->id doesn't seem to exist until after successful payment has been made.
So would the flow go something like:
$plan->id matches to user before payment.
$subscription->id can be matches to $plan->id on first payment.
Then $subscription->id matches $subscription->id for each recurring payment until canceled?
Or am I missing something? How do I match the user who initiates a plan to the successful payment and then match recurring payments for from that point on?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Subscriptions API is highly inconsistent in REST APIs
- IPN testing in sandbox in Sandbox Environment
- [JS-SDK] Trying to upgrade a subscription with a prorata charge, but still can't understand how in SDKs
- Migrate from Adaptive Payments to Commerce Platform in REST APIs
- High-level onboarding questions in REST APIs