Really nice gem. I am trying to add a custom attribute when initiating a payment and I want the attribute to be returned as part of the response data from paystack. I have tried a couple of methods to no avail.
transactions = PaystackTransactions.new(@paystack)
result = transactions.initializeTransaction(
amount: @amount,
email: @email,
custom_data: 'value' # value I wish to return as part of the response
)
Really nice gem. I am trying to add a custom attribute when initiating a payment and I want the attribute to be returned as part of the response data from paystack. I have tried a couple of methods to no avail.
I am working with ruby 2.7 and rails 6