Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/20/2016 in all areas

  1. In complement to above instruction, here bellow untested code/instructions specifically for your need. in file /app/views/client/YOUR-BLESTA-THEME/client_pay_method.pdt After this block: <?php // Set non-merchant gateways foreach ($this->Html->ifSet($nm_gateways, array()) as $gateway) { ?> replace this block: <div class="radio"> <label> <?php $this->Form->fieldRadio("gateway", $this->Html->ifSet($gateway->id), ($this->Html->ifSet($vars->pay_with) == $this->Html->ifSet($gateway->id)), array('class' => "gateway")); $this->Html->_($gateway->name); ?> </label> </div> by this: <?php // from above foreach loop, by default blesta will list here all enabled gateway(s) on by one, so we add some conditions: // here the blesta package group(s) id for witch you want to hide a given gateway that is enabled in blesta interface if ($package_group->id == "4" OR $package_group->id == "10" ) { // the gateway(s) to hide when above package group id are concerned if ($gateway->id == "2" OR $gateway->id == "3") { // case: nothing to display } else { // case: gateway can be displayed: ?> <div class="radio"> <label> <?php $this->Form->fieldRadio("gateway", $this->Html->ifSet($gateway->id), ($this->Html->ifSet($vars->pay_with) == $this->Html->ifSet($gateway->id)), array('class' => "gateway")); $this->Html->_($gateway->name); ?> </label> </div> <?php } } ?> So in last above block you have to fill your own package group id, and gateway id, you can find theses id from blesta interface when you edit package group or gateway, next just just find the id in the URL at the ending or close to.
    2 points
  2. I've exported the table for you you can copy and paste it from: https://licensecart.com/public/email-sql.txt
    2 points
  3. I think you have the ticket open right? And you somehow lost or deleted all your email templates? You need to do a fresh install under a different database, and export the SQL for the "emails" table, then import it into the original database. You can do this with PHPMyAdmin most easily.
    2 points
  4. In order to debug better, we would need to see what the original IPN type was, and where PayPal was sending it. When you make a payment, PayPal will respond to the callback URL at, e.g., domain.com/blesta/callback/gw/1/paypal_payments_standard/?client_id=12345, with a POST request. The same is expected of other IPNs. If Blesta received an IPN request from PayPal, even if Blesta doesn't take action on it, will still log that it was received. If it doesn't appear in the logs, then Blesta didn't receive it, so it may not have been sent to the correct URL. If Blesta receives a payment_status from PayPal that is not "approved" for a txn_id that already exists in Blesta, then the payments on the transaction would be unapplied.
    1 point
  5. Doh, you guys are right. I am using Stripe, not sure why I thought ACH was accepted. I disabled that option.
    1 point
  6. thanks naja7host, you are correct, my above instruction are for the checkout, but I miss case where payment is from invoice. also my above instruction is when the order template is using the "wizard" one, if not it's need to be adapted within the given used order template. I'm going to post a complementary instruction for the file /app/views/client/YOUR-BLESTA-THEME/client_pay_method.pdt as from my last check it's should be there, same way as other instruction I ever did.
    1 point
  7. Then he should update the client pay section also . I think is client_pay.pdt file .
    1 point
  8. It depends on the merchant gateway, I believe your using Stripe which doesn't have this feature yet. http://www.blesta.com/forums/index.php?/topic/5812-stripe-ach/?hl=stripe
    1 point
  9. Posted Today, 01:58 PM serge, on 18 May 2016 - 09:03 AM, said: Yes please it will be REALLY useful! and also a guide how to do this would be really really useful. Thank you Answer: I checked my file(s), I was wrong I made it but in an other shopping cart system, since I play with about 5 systems, what really I did was something close in blesta but no same as you asked, so here bellow untested code/instructions specifically for your need: in file /plugins/order/views/templates/wizard/checkout.pdt After this block: // Set non-merchant gateways foreach ($this->Html->ifSet($nonmerchant_gateways, array()) as $gateway) { ?> replace this block: <div class="radio"> <label> <?php $this->Form->fieldRadio("gateway", $this->Html->ifSet($gateway->id), ($this->Html->ifSet($vars->gateway) == $this->Html->ifSet($gateway->id)), array('class' => "gateway")); $this->Html->_($gateway->name); ?> </label> </div> by this block: <?php // from above foreach loop, by default blesta will list here all enabled gateway(s) on by one, so we add some conditions: // here the blesta package group(s) id for witch you want to hide a given gateway that is enabled in blesta interface if ($package_group->id == "4" OR $package_group->id == "10" ) { // the gateway(s) to hide when above package group id are concerned if ($gateway->id == "2" OR $gateway->id == "3") { // case: nothing to display } else { // case: gateway can be displayed: ?> <div class="radio"> <label> <?php $this->Form->fieldRadio("gateway", $this->Html->ifSet($gateway->id), ($this->Html->ifSet($vars->gateway) == $this->Html->ifSet($gateway->id)), array('class' => "gateway")); $this->Html->_($gateway->name); ?> </label> </div> <?php } } ?> So in last above block you have to fill your own package group id, and gateway id, you can find theses id from blesta interface when you edit package group or gateway, next just just find the id in the URL at the ending or close to.
    1 point
  10. I think custom module actions would be a good idea.
    1 point
  11. timnboys

    Security For New Orders

    actually michael dance the fraudrecord db check and vpn / proxy check are two different functions the fraud module does it first checks fraudrecord's db to see if there listed if they are it stops the order(but before it has done this it has also checked for vpn/proxy as well) and if they're not listed it continues to do the next check which is checking for vpn/proxy and if either or both checks return true or basically return back that there listed or/and a vpn/proxy it blocks the order and refuses to allow them to continue as hey why even let them even get to the checkout part when you can stop them before any chargebacks etc are even possible lol.
    1 point
×
×
  • Create New...