How do I add transaction details?

How do I add transaction details like individual items from the cart? I’ve been all over this page (https://developer.paypal.com/docs/api/orders/v2/) and tried simply adding these details directly into the curl request but I just get errors back. I couldn’t find any clear instructions or examples. I’ve also tried posting in the community (https://www.paypal-community.com/t5/REST-APIs/How-do-I-add-transaction-details/m-p/1947436/thread-id/3749) and I’ve tried…

Discover more

Unity + Android: How to ask for multiple permissions?

I’m working on a Unity (version 2019.1.11) project with target platform Android and I need to have the following permissions for my app to work: android.permission.CAMERA android.permission.RECORD_AUDIO android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE The Unity documentation specifies this way to ask for Android permissions. My goal is to have an initial check for all required permissions during the start…

Discover more

How do I setup WooCommerce’s product options to operate like Volusion’s option system?

We are migrating a Volusion website to WooCommerce. The administrator of that site loves the fact that add-ons are a separate entity, managed independently. I’ll try to explain how Volusion allows this through an example. For example, an option category could be: Engraving Sections And the options would be 1 (price difference $0) 2 (price…

Discover more

What is the difference when using Javascript’s .value? [on hold]

Example: var a = document.getElementById(“my-input”).value; Or var a = document.getElementById(“my-input”); var b = a.value; Sometimes, when I use the former, (like when I answered a previous question here), it does not work when used in conditional statements, and I had to use the latter to get the solution to work. Question Why does function myfunction()…

Discover more