Closed mzr111 closed 1 year ago
Hi @mzr111, after hearing from you we checked this on our end , as you can see we didn't face any such issue : https://watch.screencastify.com/v/ZEJtuP5eebg8ZgTByCyt
Now that you are facing this issue, can you please share a video of the flow?
Dear moumitahder
Here I attach to you what I am facing. Tq for responding stripeproblemwithnewapiversion.mp4 https://drive.google.com/file/d/1M8tDNWoSjQiLh0GG6baqOMM2EObHW3fG/view?usp=drive_web
On Thu, Aug 18, 2022 at 8:31 PM moumitahalder @.***> wrote:
Hi @mzr111 https://github.com/mzr111, after hearing from you we checked this on our end , as you can see we didn't face any such issue : https://watch.screencastify.com/v/ZEJtuP5eebg8ZgTByCyt
Now that you are facing this issue, can you please share a video of the flow?
— Reply to this email directly, view it on GitHub https://github.com/dualcube/moodle-enrol_stripepayment/issues/107#issuecomment-1219435175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEF2GAPXP7UVTUP7QKAVLZDVZYUJRANCNFSM564I43OA . You are receiving this because you were mentioned.Message ID: @.***>
The only problem with my new stripe account. THis is because my new account uses the new stripe api version 2022-08-01 meanwhile my old account stripe using api version 2020-08-27.
On Fri, Aug 19, 2022 at 6:57 AM mohamad zahili ramly @.***> wrote:
Dear moumitahder
Here I attach to you what I am facing. Tq for responding stripeproblemwithnewapiversion.mp4 https://drive.google.com/file/d/1M8tDNWoSjQiLh0GG6baqOMM2EObHW3fG/view?usp=drive_web
On Thu, Aug 18, 2022 at 8:31 PM moumitahalder @.***> wrote:
Hi @mzr111 https://github.com/mzr111, after hearing from you we checked this on our end , as you can see we didn't face any such issue : https://watch.screencastify.com/v/ZEJtuP5eebg8ZgTByCyt
Now that you are facing this issue, can you please share a video of the flow?
— Reply to this email directly, view it on GitHub https://github.com/dualcube/moodle-enrol_stripepayment/issues/107#issuecomment-1219435175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEF2GAPXP7UVTUP7QKAVLZDVZYUJRANCNFSM564I43OA . You are receiving this because you were mentioned.Message ID: @.***>
(07:34:27 AM) Iane: Since you've just created your Stripe account recently, the API defaulted to the latest version which is the 2022-08-01 version. However, the parameters you used as per this log req_E206z2k7Wvyrt0 is an old parameter and does not match the latest API version. (07:34:48 AM) Iane: Our API is telling you to use the line_items.price or line_items.price_data instead. (07:35:02 AM) Iane: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items-data-price (07:35:40 AM) Iane: You can also see in this link that all the parameters that you're currently using have been deleted from the current version of the API: https://stripe.com/docs/upgrades#2022-08-01 (07:54:47 AM) Iane: https://stripe.com/docs/api#versioning
[image: image.png]
May i know in which php plugin file can i send the stripe version header in your coding? Appreciate your help. TQ
On Fri, Aug 19, 2022 at 7:04 AM mohamad zahili ramly @.***> wrote:
The only problem with my new stripe account. THis is because my new account uses the new stripe api version 2022-08-01 meanwhile my old account stripe using api version 2020-08-27.
On Fri, Aug 19, 2022 at 6:57 AM mohamad zahili ramly @.***> wrote:
Dear moumitahder
Here I attach to you what I am facing. Tq for responding stripeproblemwithnewapiversion.mp4 https://drive.google.com/file/d/1M8tDNWoSjQiLh0GG6baqOMM2EObHW3fG/view?usp=drive_web
On Thu, Aug 18, 2022 at 8:31 PM moumitahalder @.***> wrote:
Hi @mzr111 https://github.com/mzr111, after hearing from you we checked this on our end , as you can see we didn't face any such issue : https://watch.screencastify.com/v/ZEJtuP5eebg8ZgTByCyt
Now that you are facing this issue, can you please share a video of the flow?
— Reply to this email directly, view it on GitHub https://github.com/dualcube/moodle-enrol_stripepayment/issues/107#issuecomment-1219435175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEF2GAPXP7UVTUP7QKAVLZDVZYUJRANCNFSM564I43OA . You are receiving this because you were mentioned.Message ID: @.***>
I managed to make it working. I make modification on this file /moodle/enrol/stripepayment/Stripe/lib/Stripe.php by putting the api version
On Fri, Aug 19, 2022 at 8:07 AM mohamad zahili ramly @.***> wrote:
(07:34:27 AM) Iane: Since you've just created your Stripe account recently, the API defaulted to the latest version which is the 2022-08-01 version. However, the parameters you used as per this log req_E206z2k7Wvyrt0 is an old parameter and does not match the latest API version. (07:34:48 AM) Iane: Our API is telling you to use the line_items.price or line_items.price_data instead. (07:35:02 AM) Iane: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items-data-price (07:35:40 AM) Iane: You can also see in this link that all the parameters that you're currently using have been deleted from the current version of the API: https://stripe.com/docs/upgrades#2022-08-01 (07:54:47 AM) Iane: https://stripe.com/docs/api#versioning
[image: image.png]
May i know in which php plugin file can i send the stripe version header in your coding? Appreciate your help. TQ
On Fri, Aug 19, 2022 at 7:04 AM mohamad zahili ramly @.***> wrote:
The only problem with my new stripe account. THis is because my new account uses the new stripe api version 2022-08-01 meanwhile my old account stripe using api version 2020-08-27.
On Fri, Aug 19, 2022 at 6:57 AM mohamad zahili ramly @.***> wrote:
Dear moumitahder
Here I attach to you what I am facing. Tq for responding stripeproblemwithnewapiversion.mp4 https://drive.google.com/file/d/1M8tDNWoSjQiLh0GG6baqOMM2EObHW3fG/view?usp=drive_web
On Thu, Aug 18, 2022 at 8:31 PM moumitahalder @.***> wrote:
Hi @mzr111 https://github.com/mzr111, after hearing from you we checked this on our end , as you can see we didn't face any such issue : https://watch.screencastify.com/v/ZEJtuP5eebg8ZgTByCyt
Now that you are facing this issue, can you please share a video of the flow?
— Reply to this email directly, view it on GitHub https://github.com/dualcube/moodle-enrol_stripepayment/issues/107#issuecomment-1219435175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEF2GAPXP7UVTUP7QKAVLZDVZYUJRANCNFSM564I43OA . You are receiving this because you were mentioned.Message ID: @.***>
Hi @mzr111 please use latest version of the plugin.
Tq. I appreciate it.
On Fri, 17 Mar 2023, 13:31 moumitahalder, @.***> wrote:
Hi @mzr111 https://github.com/mzr111 please use latest version of the plugin.
— Reply to this email directly, view it on GitHub https://github.com/dualcube/moodle-enrol_stripepayment/issues/107#issuecomment-1473155815, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEF2GAKPD3VG7JMXIMZMH6TW4PZK3ANCNFSM564I43OA . You are receiving this because you were mentioned.Message ID: @.***>
API version 2022-08-01
Key — 300032cd-c500-42c7-984c-faea625eb6b6 invalid_request_error
You cannot use line_items.amount, line_items.currency, line_items.name, line_items.description, or line_items.images in this API version. Please use line_items.price or line_items.price_data. Please see https://stripe.com/docs/payments/checkout/migrating-prices for more information.