partner_generic_decline HTTP 402 Stripe Declines Stripe Error: partner_generic_decline – lpm
When the payment provider declines a payment, Stripe triggers this error at the API level. This does not mean the payment was successful or that it will be retried. The official documentation provides more information on decline codes.
Root Causes
Insufficient funds
The payment provider may have declined the payment due to insufficient funds in the customer's account.
Invalid card details
The payment provider may have declined the payment due to invalid or incorrect card details provided by the customer.
Resolution
1.Verify card details
Check that the card details provided are correct and up-to-date.
2.Contact payment provider
Reach out to the payment provider to confirm their decline reason and obtain further assistance.
Code Examples
stripe.Charge.create(amount=1000, currency='usd', source='tok_visa')
const charge = await stripe.charges.create({ amount: 1000, currency: 'usd', source: 'tok_visa' });
charge = Stripe::Charge::create(['amount' => 1000, 'currency' => 'usd', 'source' => 'tok_visa']);
curl -X POST https://api.stripe.com/v1/charges -d "amount=1000¤cy=usd&source=tok_visa"
FAQ
What does this error mean? ▾
This error indicates that the payment was declined by the payment provider.
How do I resolve this issue? ▾
Verify card details and contact the payment provider for further assistance.
Independent reference. Always verify against the official Stripe Declines documentation.