circuitnederland / registrationform

0 stars 0 forks source link

Add fields to 'iDEAL transacties' ('idealDetail') user record #12

Closed sandrab closed 6 years ago

sandrab commented 6 years ago

From Roder: "Every time Cyclos transfers "circulaire euro's" initiated by a molly payment, Cyclos should create a user record for this. First this will only be used by the registration form, but later this should also be used for the topup function. In this user record all payment information available in molly should be saved. Also the transfer id or tranfer number should be stored in the user record (so that both are linked). This already works, but the cyclos transaction id is not included and the mollie payment id should be included. Please check if there is other information that could be saved. To make this work first all checks should be done and the payment should be processed in Cyclos and only in the last stage this record should be created."

Which fields to add:

What to do to add fields:

rmvanarkel commented 6 years ago

The Cyclos transactionnumber > Please use a so called linked entity for this of type transaction.

sandrab commented 6 years ago

@rmvanarkel : I am using paymentVO.transactionNumber now. Is that indeed what you mean with 'use a so called linked entity'? See https://github.com/circuitnederland/registrationform/commit/f31ed8f283465982c9fdaece07c12bed07e49cec#diff-2befb577a22dc83879bf6fff429c0ecaR405

rmvanarkel commented 6 years ago

A link entity is a custom field type. So if you go to the user record System > Record Types > Open record > (Fields) > New > Data type > Linked entity. You can past here just the value of the transaction number or id and it will automatically create a hyperlink then to the transaction when people look at the user record.

sandrab commented 6 years ago

The userrecord text field transactionnumber is now replaced by a field transaction of type 'linked entity'.