It works! Thanks for your help. I have a bald spot from scratching my head, but a new skilled learned.
Just one more question, please.I'm glad you had FTP set to merge not replace, or you'd possibly have more than a bald patch .
Yep i have the same issue. I usually get the email about the stripe payment and have to manually promote them to the new usergroup. Its a bit of a pain. Paypal ones(via standard paygate) goes through fine.My Stripe recurring payments never result in an automatic user upgrade
user receives this return after the callback
Looks like your server doesn't have PHP multibyte string support. Probably need to check with your hosting provider?does this work with php 7? Running php 7.0.8 with curl 7.47.0
After payment is processed, I get forwarded to an empty white page at http://url/misc/stripe and it says
"An unexpected error occurred. Please try again later."
getting this error in server logs...
Error: Call to undefined function Stripe\Util\mb_detect_encoding() - library/bdPaygateStripe/3rdparty/lib/Util/Util.php:118
Looks like your server doesn't have PHP multibyte string support. Probably need to check with your hosting provider?
Great addon.
I have slightly modified mine to require a shipping address (I'd suggest making that an actual option in the config, as it's just a boolean).
If anyone else needs to do this, edit the file library/bdPaygateStripe/Processor/Checkout.php, around line 59, just add an extra argument of: data-shipping-address="true"
That's all you need to do, the shipping information will be displayed in your Stripe dashboard!
I've installed bd Paygate and bd Paygate: Stripe, but I don't know what to do next. When I go to "user upgrades" only the default Paypal payment gateway option appears.
<div id="stripe"><form action="https://URL/misc/stripe" method="POST">
<input type="hidden" name="itemId" value="user_upgrade|3|d2495|6" />
<input type="hidden" name="cents" value="500" />
<input type="hidden" name="currency" value="usd" />
<input type="hidden" name="recurringInterval" value="1" />
<input type="hidden" name="recurringUnit" value="year" />
<input type="hidden" name="_xfToken" value="---" />
<input type="hidden" name="redirect" value="https://URL/bdpaygate/callback.php?p=stripe&returnUrl=https%3A%2F%2FURL%2Faccount%2Fupgrade-purchase" />
</form></div>
Do you by any chance have defer JS addon installed. That was an issue for me.ditto here. same thing. looks like there's no submit button being generated in the code, the stripe div and form is there though....
HTML:<div id="stripe"><form action="https://URL/misc/stripe" method="POST"> <input type="hidden" name="itemId" value="user_upgrade|3|d2495|6" /> <input type="hidden" name="cents" value="500" /> <input type="hidden" name="currency" value="usd" /> <input type="hidden" name="recurringInterval" value="1" /> <input type="hidden" name="recurringUnit" value="year" /> <input type="hidden" name="_xfToken" value="---" /> <input type="hidden" name="redirect" value="https://URL/bdpaygate/callback.php?p=stripe&returnUrl=https%3A%2F%2FURL%2Faccount%2Fupgrade-purchase" /> </form></div>
wow, that was it. is this something that can be put in the DeferJS exclusion list or is it a more fundamental conflict (I'll look at this later myself)Do you by any chance have defer JS addon installed. That was an issue for me.
No problem, I was disabling defer anyways soon and I was getting the buttons just in a weird spot so I looked into it and noticed the JS wasn't loading right.wow, that was it. is this something that can be put in the DeferJS exclusion list or is it a more fundamental conflict (I'll look at this later myself)
EDIT: It looks like adding checkout.js to DeferJS's blacklist actually doesn't solve that particular problem. Hm, I can live with DeferJS disabled for now I guess. Thanks for that tip!
Adding it to the blacklist should work though...wow, that was it. is this something that can be put in the DeferJS exclusion list or is it a more fundamental conflict (I'll look at this later myself)
EDIT: It looks like adding checkout.js to DeferJS's blacklist actually doesn't solve that particular problem. Hm, I can live with DeferJS disabled for now I guess. Thanks for that tip!
It got the buttons back visible, but they wouldn't actually do anything. Didn't have time to try and figure it out. Hopefully soon.Adding it to the blacklist should work though...
We use essential cookies to make this site work, and optional cookies to enhance your experience.