This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Payment ID on recurring payments not working
Started 11 years ago by raefrench | 2 posts |
-
The Payment ID on recurring payments is not working correctly. The results are displaying like this in the email receipt:
Payment ID form11504_entry1
This is for a monthly payment using Stripe. Shouldn't this be an actual payment id similar to the one-time payment? How can we fix this?
Best wishes,
RaePosted 11 years ago # -
That's actually the plan id of the subscription. So that you could easily recognize the payment based on the id.
However, now after looking into it further, I agree that it looks ugly and it's more appropriate to display the subscription id generated by Stripe.To fix this, you can edit the "payment_submit_stripe.php" file, around line 211:
$payment_data['payment_id'] = $subscribe_result->plan->id;
change it to become:
$payment_data['payment_id'] = $subscribe_result->id;
that should display the subscription id as the payment id.
MachForm Founder
Posted 11 years ago #
Reply
You must log in to post.