Posts

java - Supporting 3D secure cards for recurring -

my target support 3d secured cards recurring billing. right have implemented paypal direct payment. paypal direct payment api not support 3d secure recurring billing ; 3-d secure not supported direct recurring billing , reference transactions. cards require 3-d secure authentication cannot use these apis 3d secure implementation so did research , came across 2checkout supports 3d secure. here 2checkout supports recurring billing . first thing want know not written, 2co supports 3d secure recurring well? secondly there other way or source through can achieve target more 2co. any highly appreciated. 3d secure available on first , initial transaction, reason expression chargeback , e.g. friendly chargeback done on recurring transaction , not on initial one, since have been approved 3d secure , pretty hard disprove it's authenticity.

c# - Altering array while keeping a backup copy -

i have array 3 integers. want duplicate array , change first integer. magical reason, both arrays first integer adjusted. have no idea why happening , it's driving me crazy. int [] numbers1 = {1, 2, 3} int [] numbers2 = {3, 4, 5} numbers2 = numbers1; at point did system.console.writeline see both arrays {1, 2, 3}. far good. numbers1[0] = 4; when i'm doing system.console.writeline see both arrays {4, 2, 3}. want numbers2 stay same. currently passing reference. numbers in array stored in memory. when reference object in memory points object. not create new object in memory when referencing, need clone ints array points different object in memory. numbers2 = numbers1; you need clone arrays. numbers2 = (int[])numbers1.clone(); as others have noted can use .toarray() method. creates copy of items in array. numbers2 = numbers1.toarray();

c++ - Unhandled exception at 0x000FBA44 in Top Down Shooter -

i posted question dealing linker errors... whatever reason errors went away , replaced this. when try run program, window opens , appears run, visual studio 2013 presents me error: unhandled exception @ 0x000fba44 in top down shooter.exe: 0xc0000005: access violation reading location 0xccccccd0. and takes me xutility file breakpoint here: #if _iterator_debug_level == 2 if (_myproxy != _parent_proxy) { // change parentage _lockit _lock(_lock_debug); _orphan_me(); _mynextiter = _parent_proxy->_myfirstiter; _parent_proxy->_myfirstiter = this; _myproxy = _parent_proxy; } the arrow on _mynextiter line. know happening? using iterators go through lists had, commented them out yet still error , i'm not sure why edit: ok, after going through stack of methods called, last piece of code called mine this: chunkmanager::chunkmanager(b2world *w){ ...

Android : Custom ArrayAdapter not working to display text -

i working on android project, want create customarray adapter first display names of restaurants server, , when user clicks on 1 of object, it's id retrieved in backend(not displayed, nothing on ui). currently, having issues not working. note please note, not android programmer, thankful if me out, please try understand, not familiar android concepts, may not understand trying , might have follow comments. if have time it, please post answer in simple manner code. sorry this, had similar problem , not experience. thanks. apologies if rude, felt important. here layout code : <?xml version="1.0" encoding="utf-8"?> <listview xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="fill_parent" > </listview> here restrestaurant class : public class restrestaurant { private int restaurantid...

php - Display subheading with excerpt -

i want display subheading , excerpt of blog post <?php { the_subheading(); the_excerpt(); } ?> when used above code displays subheading, follwed <p> , followed excerpt() . want remove <p> . possible? there other way? i found answer. <?php echo get_the_excerpt(); ?> instead of <?php the_excerpt(); ?> solved problem. hope useful someone!

javascript - tweeting from node.js "Timestamp out of bounds" -

i've been trying work twitter streaming api node.js , tried make simple test program logs tweets. console.log("start"); var twitter = require('twitter'); var client = new twitter({ consumer_key: '****', consumer_secret: '****', access_token_key: '****', access_token_secret: '****' }); console.log("middle"); client.stream('statuses/filter', {track: "coffee"}, function(stream) { stream.on('data', function(tweet) { console.log(tweet); console.log("this won't show up."); }); console.log("this will."); }); console.log("end"); when run "node twitter.js" logs start,middle,this will,end. why client not streaming in data?

CPLEX and Bluemix integration -

i new bluemix , want use cplex. want know if possible integrate cplex bluemix framework? examples appreciated ibm provides cloud based service run cplex - decision optimization on cloud, or docloud. there java , rest apis available access service, create application on bluemix utilizes these. https://onboarding-oaas.docloud.ibmcloud.com/software/analytics/docloud/