AbcAeffchen / Sephpa

PHP class to create SEPA xml files for credit transfer and direct debit
GNU Lesser General Public License v3.0
71 stars 31 forks source link

Use of SEQUENCE_TYPE_FIRST does not seem to work #41

Closed BiggusDickus-72 closed 1 year ago

BiggusDickus-72 commented 1 year ago

Hi, I am trying to generate a First time transaction file but even though I am using the SEQUENCE_TYPE_FIRST constant to define the Sequence Type, the code keeps on generating RCUR type entries. Should I do something more on collection creation ?

AbcAeffchen commented 1 year ago

Hi, For pain.008.001.02 it is recommended not to use SEQUENCE_TYPE_FRST and instead use SEQUENCE_TYPE_RCUR. This is why Sephpa changes FRST to RCUR in this version of Direct Debit transactions.

The other versions should take the sequence type as you set it.

BiggusDickus-72 commented 1 year ago

Thanks a lot for the swift reply, I will take it into account and see if I can switch version.

AbcAeffchen commented 1 year ago

For details on how to use SEPA files you need to ask you bank. But as I understand it, you can just go with the RCUR string even for the first direct debit transaction. From the documentations I read, this should be no issue.

BiggusDickus-72 commented 1 year ago

Thanks a lot for the info. We should trigger a first batch of payments in the course of next week, I'll keep you updated. I've indeed seen in the docs I received from Isabel that it should work.

On Mon, Jan 16, 2023 at 3:38 PM Alex Schickedanz @.***> wrote:

For details on how to use SEPA files you need to ask you bank. But as I understand it, you can just go with the RCUR string even for the first direct debit transaction. From the documentations I read, this should be no issue.

— Reply to this email directly, view it on GitHub https://github.com/AbcAeffchen/Sephpa/issues/41#issuecomment-1384159260, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3CRCZ4XEF7PCXZY67GU2GTWSVMM3ANCNFSM6AAAAAAT4FM2YI . You are receiving this because you modified the open/close state.Message ID: @.***>