Hey there So far as a developer, I must admit, I love Stripe and their Docs. Great job!
I have a question. I’m trying to include PayPal as payment method, along with Stripe Connect into my plattform (based in Germany).
I’m developing a platform, similar to Uber Eats. Vendors (Restaurant owners) can sign up, will be navigated to the stripe onboarding process and can accept payments from customers on their restaurant and meals.
For example: Burger-Restaurant is signed up, completed onboarding, has set up his menu and meals. Now a customer visits my websites subdomain, regarding to this burger restaurant like “burger.mydomain.com”. There are all menus, categories and meals listed with prices. The customer selects for example a “Cheeseburger” and is moving forward to checkout.
The customer wants to select PayPal, pays the price, the food gets ready and delivered to him.
Now I want the money, fully without any fees from my side to be transferred (Destination Charge) to the vendors stripe account, which he has created while onboarding.
Is this case possible?
Is that a good approach?
When I try to choose PayPal as payment method, I receive the following error:
I’ve tried reading everything, verified everything in my account, tried contacting the discord support and the stripe support - without any success yet.
$PaymentIntent = $this->Stripe->paymentIntents->create(
[
"amount" => 1000,
"currency" => "eur",
"automatic_payment_methods" => ["enabled" => false],
"payment_method_types" => ["card", "klarna", "paypal", "giropay", "sofort"],
'transfer_data' => ['destination' => $VendorAccountId],
]
);
This is how I’ve implemented the payment intent creation in my backend (PHP SDK).
Is there anybody experienced enough to tell me - what I’ve done wrong?
When I visit the second link mentioned in the error alert, I can’t find anywhere PayPal in this list of payment methods which are entitled or not for me.
I’m so confused, I must offer PayPal as it’s the most common payment method regarding food delivery here in germany (Like Lieferando for example).
Thanks a lot and have a nice day guys!