Stripe sends a event when the payment completes. To use separate charges, see Enable other businesses to accept payments directly. If you need to control the timing of transfers or need to transfer funds from a single payment to multiple parties, use separate charges and transfers instead. This Session creates a destination charge. For more information, see Customize branding. ![]() For our home-rental example, we want to build an experience where the customer pays through the platform and the homeowner gets paid by the platform.Ĭheckout uses the brand settings of your platform account for destination charges. A destination charge means the charge is processed on the platform and then the funds are immediately and automatically transferred to the connected account’s pending balance. payment_intent_data - This argument indicates that this is a destination charge.The application_fee_amount is then transferred back to the platform, and the Stripe fee is deducted from the platform’s amount. The full charge amount is immediately transferred from the platform to the connected account that’s specified by transfer_data after the charge is captured. payment_intent_data - This argument specifies the amount your platform plans to take from the transaction.cancel_url - This argument redirects a user after they click cancel.success_url - This argument redirects a user after they complete a payment.The items are displayed in the Stripe-hosted user interface. line_items - This argument represents the items the customer is purchasing.You can check the state of the details_submitted parameter on their account to see if they’ve completed the onboarding process. The user can complete their account activation through a new account link (generated by your integration). If the account isn’t fully onboarded, provide UI prompts to allow the user to continue onboarding later. ![]() Use the /v1/accounts endpoint to retrieve the user’s account and check for charges_enabled. Handle users that haven’t completed onboardingĪ user that’s redirected to your return_url might not have completed the onboarding process. Your refresh_url should trigger a method on your server to call Account Links again with the same parameters, and redirect the user to the Connect Onboarding flow to create a seamless experience. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |