Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Stripe Split Pay – Cannot split payment between multiple vendors
- This topic has 4 replies, 1 voice, and was last updated 5 years, 6 months ago by sdel_nevo.
- AuthorPosts
- June 6, 2019 at 9:15 am #66178sdel_nevoParticipant
Hi Guys
I am getting this error at checkout Stripe Split Pay Error: Must provide source or customer.
steps to produce
add to your shopping cart two or more items (From different vendors)
at the checkout fill in customer details
fill out card payment details
click the Place order buttonError Stripe Split Pay Error: Must provide source or customer.
is shown in the header (as per the screenshot attached)woocommerce shows this in its logs
2019-06-06T08:53:08+00:00 INFO #000029 – SDN46 payment processing complete via Stripe Split Pay for order 56573. Amount: 64.99 GBPwhich is the amount of the first product in the screenshot, but nothing is created for the second product
This is the error from the second vendor’s Stripe account
Request POST body
{
“amount”: “2000”,
“currency”: “GBP”,
“application_fee”: “0”,
“description”: “Payment for Order #56573”
}
Response body
{
“error”: {
“code”: “parameter_missing”,
“doc_url”: “https://stripe.com/docs/error-codes/parameter-missing”,
“message”: “Must provide source or customer.”,
“type”: “invalid_request_error”
}
}Is stripe not able to split payments between multiple vendors at the same time?
SteveAttachments:
You must be logged in to view attached files. - June 6, 2019 at 9:30 am #66180sdel_nevoParticipantThis reply has been marked as private.
- June 6, 2019 at 9:33 am #66184sdel_nevoParticipant
Also
this customer is not created in either vendor’s store manager (manage customers) screen
Steve
- June 8, 2019 at 7:35 am #66485sdel_nevoParticipant
Hi
I have been trying to get stripe to split payments between more than one vendor and it fails every time with the error “Stripe Split Pay Error: Must provide source or customer.”
the customer gets the order e-mails even though stripe has failed!!
this happens if an existing customer purchases from multiple vendors or if a new customer is created at checkout
the first vendor gets paid, but the second or third or fourth vendors do not
the customer gets all the vendors invoices! each invoice shows all of the products purchased from all vendors? not just the product that was sold by that vendor, but vendor’s do not get any order details at all
All the other vendors except the first one get this error in their Stripe logs where ****** is the amount of the payment
Request POST body
{
“amount”: “*********”,
“currency”: “GBP”,
“application_fee”: “0”,
“description”: “Payment for Order #56573”
}
Response body
{
“error”: {
“code”: “parameter_missing”,
“doc_url”: “https://stripe.com/docs/error-codes/parameter-missing”,
“message”: “Must provide source or customer.”,
“type”: “invalid_request_error”
}
}You free to log into my site to see, I can give you both the admin and a vendors account (to which you can connect your stripe account) so you can see the error that’s produced in Stripe.
Any ideas,
Steve
- June 8, 2019 at 12:32 pm #66506sdel_nevoParticipant
Hi Guys
as said, this has been reolved with your help via e-mail
Please close this ticket 🙂Steve
- AuthorPosts
- The topic ‘Stripe Split Pay – Cannot split payment between multiple vendors’ is closed to new replies.