-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PAIN format "pain.008.001.02 without BIC and CdtrSchmId:Nm" doesn't work for Switzerland #639
Comments
This structure is already implemented in the |
But I understand that you want a mixed mode format, which we have tried to avoid. Our approach was mostly to have different creditors for Swiss people, and/or generally people from abroad. |
In all use cases I can imagine, we won't have different contribution pages for people from Switzerland. Therefore, all SEPA mandates have to be processed by the same sepa creditor, using the same PAIN format. I don't see any reason why we shouldn't do so? |
One of the reasons we wanted to separate, is that you then have to force all donors to give an address, even though it's just needed for the swiss donors. |
...and I'm not sure that your mixed file would be valid XML (according to the XSD), but I might be wrong.... |
The address will be generated only, if $contribution.ctry eq 'CH'. Anyhow, I just patched the affected production system, and we will see... |
@Detsieber Could you please file your patch as a PR for a new separate format. |
@jensschuppe I still don't think it would be necessary to create a new format, for the following reasons:
|
Re 4. You may refer to 1e79bdc for hints on what needs to be done for adding new formats, in short:
I'm closing this question issue as fixed, please continue commenting in your PR (#654), if necessary. |
SEPA is supporting direct debits from debitor accounts in Switzerland. However, in these cases, other than in any other country, the postal address of the debitor has to be added.
This was already implemented in "pain.008.003.02 (EBICS-3.0 RCUR/CH)".
Therefore, in "pain.008.001.02 without BIC and CdtrSchmId:Nm", directly after
<Nm>{$contribution.display_name}</Nm>
the following code has to be inserted
After our ongoing test is completed, I will add a pull request.
The text was updated successfully, but these errors were encountered: