Tap-Payments / goSell-JSLib-Documentation

19 stars 24 forks source link

order.taxes Object Structure #9

Closed abdrhmn closed 4 years ago

abdrhmn commented 4 years ago

Hello @halaq

There is no definition or example of the order.taxes object. Can you please explain it with an example?

halaq commented 4 years ago

Hi @abdrhmn

I just noticed your question, sorry for the delay. order.taxes is not supported yet, it has been added to the library for future needs.

yamenarahman commented 4 years ago

@halaq Hello there, how about order.shipping ?

yamenarahman commented 4 years ago

@halaq I tried to use shipping as a string as mentioned in the readme but it shows this error:

Screen Shot 2020-11-12 at 11 36 19 AM

I thought it needs to be an array, when I placed it as an array, the error is gone the shipping value is not shown in the popup.

Screen Shot 2020-11-12 at 11 35 10 AM Screen Shot 2020-11-12 at 11 33 58 AM
halaq commented 4 years ago

Hi @yamenarahman

order. shipping same as order.taxes. it's not supported yet, it has been added to the library for future needs. The current version supports amount, currency and items only.

yamenarahman commented 4 years ago

Thanks for quick response.

halaq commented 4 years ago

You're welcome