I have some forms available on a website, where people can order a membership.
Only problem is that my customer does see the payments coming in (using Stripe), but in the Bank Statement they can’t see any reference in it.
How can I make it so that a name of the subscriber is added in that Bank Statement line?
Currently it only displays “Stripe Z1xxx”.
I have used the snippets in:
But how do I get the “customer” info in the description so it will show in the bank statement?
Now I get:
Hi Roy,
Did you check out the example here:
This allows you to change the charge description entirely. If you’re wanting to override that with the customer from your form, you can pull that in using the $entry object.
In that example, this line pulls field 21 into the description:
// Change 21 to your field id number.
$description = 'Invoice Payment for #' . rgar( $entry, '21' );
If you want to override for your customer name, you’d want to send that particular field number into that section.
Thx Jim, I have tried this.
But somehow the e-mailadres is not shown in description.
Can you see what the problem is?
I use a Snippet plugin.
I did some changes and it works ![]()
Thx for your support ![]()
It works. Now I want some extra data in de description (for the receipt).
$description = 'Invoice Payment for #' . rgar( $entry, '21' );
I tried the following:
$description = 'Invoice Payment for #' . rgar( $entry, '9,20' );
And
$description = 'Invoice Payment for #' . rgar( $entry, '9' '20' );
As “20” is the companyname which I would like to add in the receipt.
Only this doesn’t work.
Is there a different way to add this? Or just not possible?
I solved it in the meantime with this code:
$description = ‘Invoice Payment for #’ . rgar( $entry, ‘21’ ) . ’ - ID: ’ . rgar( $entry, ‘22’ );
Hey Roy,
I’m glad you figured it out. The rgar function is pretty specific:
It’s rgar( $array, $property );so you can’t use it for multiple properties in the same return.
You could use rgars to pull multiple values back, possibly:
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


