Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author DOTonPAPER

    (@dotonpaper)

    Hello,

    You can create a new currency.
    Find the file: booking-system/includes/class-currencies.php

    Thank you.

    Thread Starter cyberfoxz

    (@cyberfoxz)

    I´m not really good with the code but it is not a $currencies right?
    I know that $credits_amount is the amount of credits when i can buy something.
    Where do i add the $credits_amount to the currency file?

    Plugin Author DOTonPAPER

    (@dotonpaper)

    You user this structure for the new currency:

    array_push($currencies, array('code' => '',
                                                  'name' => '',
                                                  'sign' => '')); 

    Set the amount of credits to be charged in the calendar.

    Thank you.

    Thread Starter cyberfoxz

    (@cyberfoxz)

    Hi,

    This worked and the currency is now added.
    But then i have another problem i guess..

    When i add f.e. 2 hours to my cart. They have to pay 2*30 credits.
    So in my cart the user has to pay 60 credits. Thats good.
    But when i want pay with my credits this error come in:
    Payment error: You can not purchase product without credits set. Please choose another payment method.

    what to do?

    u can see my site at http://www.prepaidcare.nl (it is kalender123)
    If u know it it would be great, otherwise can u contact me, then i can give the username and password.

    Thanks in advance!

    Plugin Author DOTonPAPER

    (@dotonpaper)

    Do you still use Pinpoint for your product ?

    Thank you.

    Thread Starter cyberfoxz

    (@cyberfoxz)

    No sorry i can delete this post, i have now woo booking and that works great. I didnt get a good answer for pinpoint thats why i switched to booking.
    Thanks

    Plugin Author DOTonPAPER

    (@dotonpaper)

    Glad you could find a solution.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘credits price instead of normal price.’ is closed to new replies.