SSL problem just when turning on the HTTP proxy

ssl
plugins
stripe

#1

Hello ,

Im using whmcs + stripe plugin , Recently im encountring a problem with SSL certificate , it was working without problem and now it doesn’t work , the site works without problem but when the clients would like to pay when they click on “Pay now” button nothing happens , and when i switched off the HTTP proxy in my cloudflare account everything work fine and the button work again , is there any recent change in cloudflare , you find below the code source of the button :

               <!-- MoStripe New buy process -->
<br /><br />
<style>
	.submitbutton {
		line-height: 1.33;
		border-radius: 6px;
		font-size: 21px;
		padding: 14px 24px;
		color: #fff;
		background-color: #5cb85c;
		border-color: #4cae4c;
		cursor: pointer;
	}
</style>
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="https://checkout.stripe.com/checkout.js"></script>
<p><button id="mostripeOBT" class="submitbutton" title="moStripe Pay Now">Pay Now</button></p>

<form action="https://www.site.com/modules/gateways/callback/roudiappstripecheckout_payment.php" method="post" id="roudifrm">
	<input type="hidden" name="invoiceid" value="247" />
	<input type="hidden" name="amount" value="100" />
	<input type="hidden" name="mostripeshakey" value="876f83ed7a4204cefb825cfa4ff210b291f916f2" />
	<input type="hidden" name="currency" value="usd" />
	<input type="hidden" name="userid" value="3" />
	
<script type="text/javascript">
	jQuery(function($) {
	    $('#mostripeOBT').click(function(){
	      var token = function(res){
	        var $token = $('<input type=hidden name=stripeToken />').val(res.id);
	        var $acctype = $('<input type=hidden name=acctype />').val(res.type);
	        var $custemail = $('<input type=hidden name=custemail />').val(res.email);

	        $('form#roudifrm').append($acctype);
	        $('form#roudifrm').append($custemail);
	        $('form#roudifrm').append($token).submit();
	      };

	      var handler = StripeCheckout.configure({
	    	key:         'pk_live_49KgGVAqvSZxNXDJAt6sMdHa',
	    	locale: 'auto',
	  	  });
	
	      StripeCheckout.open({
	      	key:         'pk_live_49KgGVAqvSZxNXDJAt6sMdHa',
	    	image: 'https://www.site.com/templates/theme/html/img/logo-pay.png',
	        address:     true,
	        amount:      100,
	        currency:    'usd',
	        name: 'site',
	      	description: 'Invoice #247',
	        panelLabel:  'Pay Now',
	        alipay: 'true',
	        bitcoin: 'true',
	        token:       token
	      });
	
	      return false;
	    });
	});
</script>
</form>
<!-- MoStripe New buy process ends -->

#2

hey @twacha10,

Could you by any chance provide more details about the issue that you’re facing? What do you mean by SSL problems?

Also, could you provide the name of your domain on CloudFlare.


#3

Now I don’t dowling app

ส่งจาก iPhone ของฉัน