Orange06
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Braintree] Catch response code when submiting the formSolution for anyone else trying to achieve the same;
You can manipulate messages and customize div classes and visual stuff in main.php in /plugins/wp-braintree – be careful when doing this.
Around line 420 (nice number :)) there should be “if($result->success)” and in here you can put you php logic when transaction is finished successfully, few lines below you will find “else if ($result->transaction)” and in here you can put your logic for failed transactions.
Below, around line 570 you will find <table> where information like credit card number and the rest is- here you can expand this to add First & Last name and email- which you can catch them in “if($result->success)” under $_POST[‘your-input-name’]. I did it like this to send user email if transaction was successful, and to send admin email that new transaction was just made – since braintree himself doesn’t offer email notice if new transaction was made 🙂Thank you @mra13 !
Forum: Plugins
In reply to: [WP Braintree] Catch response code when submiting the formI figured it out, thank you 🙂
Forum: Plugins
In reply to: [WP Braintree] Catch response code when submiting the formThank you for your response!
I see where you put that yes, but problem is, form still gets cleared before message containing transaction information shows up… I don’t want to use db and all the unnecessary code just to send email when transaction is done… Can I trigger javascript function before page reloads or does it reload automatically when sending CC info and waiting for respond ?
Forum: Plugins
In reply to: [WP FullPage] User guideI find this guide very unhelpful 😐 I mean I understand english very well but this guide is madly unhelpful :\ Could you clear it out for me please:
HOW TO CREATE A FULLPAGE?
2. My FullPage consists of vertical sections. Each section is composed of one or more slides:
In this case, you will need to create sections.How do I create sections ? What does that even mean ?
I’ve been trying to figure out this plugin for the last 3 hours and all i’ve been getting is just blank screen..This site with these steps… Yo I’ts very nice site with some very smooth transitions but..how about some pictures, more details “how to start” with simple 1min video or at least step by step guide to create 2 transitions, up and down, with or without button to click or just mouse wheel.
I need an example please if anything exists on how to start ? :\
- This reply was modified 8 years, 12 months ago by Orange06.