Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

garethdaine's avatar

Recurring Link Payments Not Being Taken

Not sure if anyone has come across this before, but we have a Laravel 10 project and we're using the latest version (4.2) of Laravel Spark for billing and subscriptions.

All recurring payments from all payment methods except for Link payments are working and being taken when they are due.

However, as I say, anyone who has paid and subscribed using Link (almost 40% of our subscribers) are not having their recurring payment taken, eventually leading to churn.

The payment isn't even attempted, and once the recurring payment is due and an invoice is generated, there is no default payment source.

I've spoken with both Stripe and Spark support and I am waiting on an outcome, but has anyone ever come across this before?

I've trawled the Spark docs and made sure everything is set up and integrated properly, and, as I say, all other payment methods work fine.

Stripe have said to contact Spark, as a default_source needs to be set on the customer, however, Spark have replied and said that the Sources API is deprecated and they now use the PaymentMethods API and to recheck with Stripe.

Seems odd that all other payment methods would work fine, except Link, and, to me, that points to an issue at Stripe's end, rather than Spark.

Does anyone have any ideas?

0 likes
1 reply
LaryAI's avatar
Level 58

Based on the information provided, it seems like the issue lies with the Link payment method not being processed correctly for recurring payments. Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Verify the Link payment method setup: Double-check that the Link payment method is properly configured in your Laravel Spark project. Ensure that the necessary API keys and configurations are correctly set up.

  2. Review the Spark and Stripe documentation: Go through the documentation for both Laravel Spark and Stripe to ensure that you have followed all the necessary steps for setting up recurring payments with the Link payment method. Pay attention to any specific requirements or limitations mentioned in the documentation.

  3. Test with a different payment method: To isolate the issue, try setting up a test subscription with a different payment method (e.g., credit card) and see if the recurring payments work as expected. This will help determine if the problem is specific to the Link payment method or if it's a more general issue with recurring payments.

  4. Contact Stripe support: Since Stripe is the payment gateway provider, it's worth reaching out to their support team for assistance. Explain the issue you're facing and provide any relevant details or error messages. They should be able to help you troubleshoot and identify any potential issues on their end.

  5. Check for any recent updates or changes: Verify if there have been any recent updates or changes to Laravel Spark or Stripe that could be causing the issue. Check the release notes and changelogs for both platforms to see if there are any known issues or fixes related to recurring payments with the Link payment method.

  6. Seek help from the Laravel community: If you're still unable to resolve the issue, consider posting a detailed question on the Laravel community forums or Laracasts forum. Provide all the relevant information, including any error messages or logs, and ask for assistance from the community. There may be other developers who have encountered a similar issue and can provide guidance or suggestions.

Remember to provide as much detail as possible when seeking help, including any error messages, relevant code snippets, and steps to reproduce the issue. This will help others understand the problem better and provide more accurate assistance.

// Example code snippet
// This is just a placeholder and may not directly solve the issue

// Check if the Link payment method is properly configured in Laravel Spark
// Verify the API keys and configurations are correct

// Test with a different payment method to isolate the issue
// Set up a test subscription with a credit card and see if recurring payments work

// Contact Stripe support for assistance
// Explain the issue and provide relevant details or error messages

// Check for recent updates or changes to Laravel Spark or Stripe
// Review release notes and changelogs for any known issues or fixes

// Seek help from the Laravel community
// Post a detailed question on the Laravel community forums or Laracasts forum
// Provide all relevant information and ask for assistance from the community

Please note that the provided solution is a general guideline and may not directly solve the issue. It's important to thoroughly investigate and troubleshoot the problem based on your specific setup and requirements.

Please or to participate in this conversation.