Dependiendo de la fecha/hora de la transacción, al trabajar con UTC se puede clasificar es un día/mes u otro. Conciderar el siguiente caso diario.
Esto es lo que llega del webhook.
Right now (17/12/2024) the documentation about how to implement UL is really outdated. There isn't a full source of true. Let put all together here.
Is the simpler step, but is important to understand a few things.
This is the structure that clients need to follow to send and receive data from backend. In the future we will have swagger documentation, but for now you can check this contract rules. The capitalization to use is camel case.
Always the payload must include a wrapper object called data
` { data: "Object || Array"
MongoDB is a NoSQL database and Prisma is an ORM for NodeJS. Here are the steps to create a MongoDB database and set up Prisma to use it.
This option works, but you will need to use Docker because prisma needs something called Replica Set.So, the easy way to have it is using docker or creating the database on MongoDB Atlas.
I recommend just to use MongoDB inside a docker container and then connect to it from Prisma.
Last update: 11/08/2023.
The error looks like something like this: Failed to determine Chrome binary location. (Webdrivers::BrowserNotFound)
Under WSL, we are running the Linux version of Ruby, which won't be able to communicate via WebDriver with the Windows Chrome executable.
So, we need to change the default browser driver used by Capybara.
application_system_test_case.rb inside your rails project, remove the configuration for driven_by and make sure to copy and pase the new driver configuration.You can confir the issue checking the curl error
$error = curl_error($curl)
SHould say somathing like: SSL certificate problem: unable to get local issuer certificate
you can download the file here
DEV NOTE: Support for Ubuntu 18.04 was removed from Ondřej Surý's PPA on June 15, 2023 as that version of Ubuntu is no longer supported. As per the description on the PPA landing page
| import { Configuration as WebpackConfiguration } from "webpack"; | |
| import { Configuration as WebpackDevServerConfiguration } from 'webpack-dev-server'; | |
| import path from "path"; | |
| import HtmlWebpackPlugin from "html-webpack-plugin"; | |
| interface Configuration extends WebpackConfiguration { | |
| devServer?: WebpackDevServerConfiguration; | |
| } | |
| const config = (): Configuration => ({ |
| def add_pass_customers_to_program(passes_slugs, program_uid, include_cancelled: true) | |
| ActiveRecord::Base.transaction do | |
| passes_slugs.each do |slug| | |
| pass = Pass.find_by_slug(slug) | |
| pass_customers = pass.pass_customers.active_upcoming | |
| pass_customers = pass_customers.not_cancelled unless include_cancelled | |
| pass_customers.each do |pass_customer| | |
| client = pass_customer.user | |
| program_customer = ::Customers::Bundles::Program.active_upcoming.find_by(product_uid: program_uid, user_uuid: client.uuid) |