*

reflexus

  • ****
  • 146 posts
Stripe European payments are changing
« on: April 25, 2019, 06:14:13 PM »

*

MB Themes

Re: Stripe European payments are changing
« Reply #1 on: April 25, 2019, 06:21:26 PM »
Do not see that api require change in integration
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

reflexus

  • ****
  • 146 posts
Re: Stripe European payments are changing
« Reply #2 on: August 27, 2019, 08:00:48 PM »
Do not see that api require change in integration

I see the update in the plugin, you wrote that you did not see the updates in api?!  ;D Thanks

*

MB Themes

Re: Stripe European payments are changing
« Reply #3 on: August 27, 2019, 09:00:55 PM »
You have not sent proper links  8)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

reflexus

  • ****
  • 146 posts
Re: Stripe European payments are changing
« Reply #4 on: August 27, 2019, 09:26:08 PM »
if not logged in account you have error on /osclasspay/itempaypub/ page
you need to change code in StripePayment.php line 38-59 on this

Code: [Select]
if(osc_logged_user_email() > null){
$emailstripe = osc_logged_user_email();
} else {
$emailstripe = null;
}

    $SUCCESSURL = osc_base_url() . 'oc-content/plugins/' . osc_plugin_folder(__FILE__) . 'success.php?orderId=' . $order_id;
    $CANCELURL = osc_base_url() . 'oc-content/plugins/' . osc_plugin_folder(__FILE__) . 'cancel.php';

    \Stripe\Stripe::setApiKey($stripe['secret_key']);

    $session = \Stripe\Checkout\Session::create([
      'payment_method_types' => ['card'],
      'line_items' => [[
        'name' => $itemnumber,
        'description' => $description,
        'amount' => round($amount*100),
        'currency' => osp_currency(),
        'quantity' => 1,
      ]],
      'client_reference_id' => $order_id,
      'customer_email' => $emailstripe,
      'success_url' => $SUCCESSURL,
      'cancel_url' => $CANCELURL
    ]);

*

MB Themes

Re: Stripe European payments are changing
« Reply #5 on: August 28, 2019, 08:14:55 AM »
@reflexus
It's not doing any difference.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

reflexus

  • ****
  • 146 posts
Re: Stripe European payments are changing
« Reply #6 on: August 28, 2019, 03:15:02 PM »
@reflexus
It's not doing any difference.

its ok, if you don't want, but in your case you have fatal error, in my case no  ;D

*

reflexus

  • ****
  • 146 posts
Re: Stripe European payments are changing
« Reply #7 on: August 29, 2019, 05:48:47 PM »
BUG: If you pay per Stripe with new update 1.7.7 then the plugin does not save payment data to the payment log

Tested with clean osclass and clean osclass pay plugin

Can you look at it?