Question How to Transfer/Convert Currency?

Status
Not open for further replies.

kbryant414

Customer
I'd like to set up some events to convert different currency types. Ultimately, I would like to have one that just converts a user's currency, based on the value of the currency, as well as one that combines that with 'donating' to another user.

Two scenarios for context:

  • Bob has 50 USD (value 1) but needs to convert that into 10 Tokens (value 5). It appears that there's an Event Trigger that should do that ("Transfer - Moving your own currency from one form to another."), but when setting it, it has no options available to select a second currency. If it's a blanket permission that 'this currency can be converted to other currencies' then how/where would my users do those conversions?
  • Jack has 100 Credits and wants to place 10 Bounty on Jill. In this instance, it wouldn't be a currency for Jill to spend, but one for other users to see who is the biggest target. That's why Jack can't 'Donate' to Jill, and expect Jill to 'Transfer' the currency.
 
Every currency that has the "Transfer From" and "Transfer To" currency settings, as well as a transfer event, can be used to transfer.

The per-currency setting "Relative Value" is used to create an exchange rate. For instance, a relative value of 0.5 will, I believe, halve the amount when transferring TO this currency from the "base currency", and double when transferring FROM this currency to the "base currency".

At this time, there is no way of blocking transfers between multiple currencies, so if you have 3 currencies and you want to setup exchange from 1 to 2 and from 1 to 3, but not from 2 to 3 or from 3 to 2, if that made sense, that's not possible at this time.
 
Every currency that has the "Transfer From" and "Transfer To" currency settings, as well as a transfer event, can be used to transfer.

The per-currency setting "Relative Value" is used to create an exchange rate. For instance, a relative value of 0.5 will, I believe, halve the amount when transferring TO this currency from the "base currency", and double when transferring FROM this currency to the "base currency".

At this time, there is no way of blocking transfers between multiple currencies, so if you have 3 currencies and you want to setup exchange from 1 to 2 and from 1 to 3, but not from 2 to 3 or from 3 to 2, if that made sense, that's not possible at this time.

Ok, I tried testing it, and it did give me an option to do a transfer, but returned 'Invalid Event ID.'
 
Did you set up the transfer events?

I did, yes.

Testing with just two currencies.
Currency A (Rel Value 1) is set Transfer From: Yes, Transfer To: No.
Currency B (Rel Value 50) is set to Transfer From: No, Transfer To: Yes.
Both currencies have a Transfer event. No minimums or maximums set.

I can get as far as selecting to transfer to Currency B, and set the amount, but when I click the Transfer button, it gives the invalid event id error.
 
Just for testing purposes can you try setting Transfer To and Transfer From to Yes for both of them, in case there's a bug that can be worked around temporarily with that change?
 
Hello kbryant414,

This ticket has now been closed with the status Answered.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

DragonByte Credits

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
4,652
Customer rating
5.00 star(s) 5 ratings
Back
Top